diff options
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
-rw-r--r-- | drivers/usb/host/xhci-pci.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index a140b1dd07..7a9315a0b6 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -37,9 +37,4 @@ static struct pci_driver xhci_pci_driver = { .id_table = xhci_pci_tbl, .probe = xhci_pci_probe, }; - -static int xhci_pci_init(void) -{ - return pci_register_driver(&xhci_pci_driver); -} -device_initcall(xhci_pci_init); +device_pci_driver(xhci_pci_driver); |