Commit f44ca9d0 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix for oops at shutdown when uhci-hcd is compiled into the kernel.

parent 445af995
...@@ -2407,7 +2407,7 @@ static int __devinit uhci_start(struct usb_hcd *hcd) ...@@ -2407,7 +2407,7 @@ static int __devinit uhci_start(struct usb_hcd *hcd)
return retval; 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); struct uhci_hcd *uhci = hcd_to_uhci(hcd);
...@@ -2488,7 +2488,7 @@ static const struct hc_driver uhci_driver = { ...@@ -2488,7 +2488,7 @@ static const struct hc_driver uhci_driver = {
suspend: uhci_suspend, suspend: uhci_suspend,
resume: uhci_resume, resume: uhci_resume,
#endif #endif
stop: __devexit_p(uhci_stop), stop: uhci_stop,
hcd_alloc: uhci_hcd_alloc, hcd_alloc: uhci_hcd_alloc,
hcd_free: uhci_hcd_free, hcd_free: uhci_hcd_free,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment