From: Gerard Snitselaar Date: Fri, 16 Mar 2012 18:34:11 +0000 (-0700) Subject: usb: xhci: fix section mismatch in linux-next X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a46c46a1d752756ba159dd454b746a3fb735c4f5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb: xhci: fix section mismatch in linux-next xhci_unregister_pci() is called in xhci_hcd_init(). Signed-off-by: Gerard Snitselaar Signed-off-by: Sarah Sharp --- diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index ef98b38626fb..0d7b85135965 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); }