Hi,

Please apply to 2.6.current.

--
~Randy


// Linux 2.6.4-rc2
// net2280_remove() is called by net2280_probe() so it
// shouldn't be marked as __exit;

diffstat:=
 drivers/usb/gadget/net2280.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Naurp ./drivers/usb/gadget/net2280.c~net2280_init ./drivers/usb/gadget/net2280.c
--- ./drivers/usb/gadget/net2280.c~net2280_init 2004-03-06 20:57:08.000000000 -0800
+++ ./drivers/usb/gadget/net2280.c      2004-03-07 15:59:18.000000000 -0800
@@ -2663,7 +2663,7 @@ static void gadget_release (struct devic
 
 /* 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 @@ static struct pci_driver net2280_pci_dri
        .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_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to