ChangeSet 1.1608.84.23, 2004/03/10 12:42:17-08:00, [EMAIL PROTECTED]
[PATCH] USB: fix net2280 section usage
net2280_remove() is called by net2280_probe() so it
shouldn't be marked as __exit;
drivers/usb/gadget/net2280.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c
--- a/drivers/usb/gadget/net2280.c Tue Mar 16 15:02:22 2004
+++ b/drivers/usb/gadget/net2280.c Tue Mar 16 15:02:22 2004
@@ -2663,7 +2663,7 @@
/* tear down the binding between this driver and the pci device */
-static void __exit net2280_remove (struct pci_dev *pdev)
+static void net2280_remove (struct pci_dev *pdev)
{
struct net2280 *dev = pci_get_drvdata (pdev);
@@ -2884,7 +2884,7 @@
.id_table = pci_ids,
.probe = net2280_probe,
- .remove = __exit_p(net2280_remove),
+ .remove = net2280_remove,
/* FIXME add power management support */
};
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel