usb: xhci-mtk: enable wake-up interrupt after runtime_suspend called
[linux-2.6-microblaze.git] / drivers / usb / host / uhci-pci.c
index 957c87e..9b88745 100644 (file)
@@ -287,17 +287,21 @@ static const struct hc_driver uhci_driver = {
 static const struct pci_device_id uhci_pci_ids[] = { {
        /* handle any USB UHCI controller */
        PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_UHCI, ~0),
-       .driver_data =  (unsigned long) &uhci_driver,
        }, { /* end: all zeroes */ }
 };
 
 MODULE_DEVICE_TABLE(pci, uhci_pci_ids);
 
+static int uhci_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
+{
+       return usb_hcd_pci_probe(dev, id, &uhci_driver);
+}
+
 static struct pci_driver uhci_pci_driver = {
        .name =         hcd_name,
        .id_table =     uhci_pci_ids,
 
-       .probe =        usb_hcd_pci_probe,
+       .probe =        uhci_pci_probe,
        .remove =       usb_hcd_pci_remove,
        .shutdown =     uhci_shutdown,