From: Greg Kroah-Hartman Date: Fri, 12 Jul 2002 04:29:19 +0000 (-0700) Subject: USB: fix for oops at shutdown when uhci-hcd is compiled into the kernel. X-Git-Tag: v2.5.26~129^2~11^2~1 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=f44ca9d09b5b884253d9677565f839e54dcb184a;p=history.git USB: fix for oops at shutdown when uhci-hcd is compiled into the kernel. --- diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 1ba2e6f66c63..b077975c6e22 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c @@ -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,