]> git.neil.brown.name Git - history.git/commitdiff
USB: fix for oops at shutdown when uhci-hcd is compiled into the kernel.
authorGreg Kroah-Hartman <greg@kroah.com>
Fri, 12 Jul 2002 04:29:19 +0000 (21:29 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 12 Jul 2002 04:29:19 +0000 (21:29 -0700)
drivers/usb/host/uhci-hcd.c

index 1ba2e6f66c63c2da06934d262bafa3111791d6f3..b077975c6e2237cfa839252112ed63b6dc3183a3 100644 (file)
@@ -2407,7 +2407,7 @@ err_pci_set_dma_mask:
        return retval;
 }
 
-static void __devexit uhci_stop(struct usb_hcd *hcd)
+static void uhci_stop(struct usb_hcd *hcd)
 {
        struct uhci_hcd *uhci = hcd_to_uhci(hcd);
 
@@ -2488,7 +2488,7 @@ static const struct hc_driver uhci_driver = {
        suspend:                uhci_suspend,
        resume:                 uhci_resume,
 #endif
-       stop:                   __devexit_p(uhci_stop),
+       stop:                   uhci_stop,
 
        hcd_alloc:              uhci_hcd_alloc,
        hcd_free:               uhci_hcd_free,