summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-pci.c
diff options
context:
space:
mode:
authorGerard Snitselaar <dev@snitselaar.org>2012-03-16 11:34:11 -0700
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2012-04-10 15:21:53 -0700
commita46c46a1d752756ba159dd454b746a3fb735c4f5 (patch)
treeed41478336b9423810ba0574f5185ef35e71366e /drivers/usb/host/xhci-pci.c
parentbb334e90cc3a2913906665ea966abd7f462b67c2 (diff)
downloadop-kernel-dev-a46c46a1d752756ba159dd454b746a3fb735c4f5.zip
op-kernel-dev-a46c46a1d752756ba159dd454b746a3fb735c4f5.tar.gz
usb: xhci: fix section mismatch in linux-next
xhci_unregister_pci() is called in xhci_hcd_init(). Signed-off-by: Gerard Snitselaar <dev@snitselaar.org> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
-rw-r--r--drivers/usb/host/xhci-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index ef98b38..0d7b851 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -326,7 +326,7 @@ int __init xhci_register_pci(void)
return pci_register_driver(&xhci_pci_driver);
}
-void __exit xhci_unregister_pci(void)
+void xhci_unregister_pci(void)
{
pci_unregister_driver(&xhci_pci_driver);
}
OpenPOWER on IntegriCloud