[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1341986955-20020-1-git-send-email-devendra.aaru@gmail.com>
Date: Wed, 11 Jul 2012 11:54:15 +0545
From: Devendra Naga <devendra.aaru@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Devendra Naga <devendra.aaru@...il.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Lior Dotan <liodot@...il.com>,
Christopher Harrer <charrer@...critech.com>
Subject: [PATCH V2] staging/slicoss: disable pci device at remove
at probe we enabled the device, and we should disable it at remove.
Signed-off-by: Devendra Naga <devendra.aaru@...il.com>
---
changes v2:
nothing, just a resend, incremented patch version count for maintainer to have notified the latest change easily.
drivers/staging/slicoss/slicoss.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index 785e4c5..56829fc 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -3234,6 +3234,7 @@ static void __devexit slic_entry_remove(struct pci_dev *pcidev)
}
free_netdev(dev);
pci_release_regions(pcidev);
+ pci_disable_device(pcidev);
}
static int slic_entry_halt(struct net_device *dev)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists