]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/usb/host/uhci-pci.c
PM / core: Drop run_wake flag from struct dev_pm_info
[mirror_ubuntu-artful-kernel.git] / drivers / usb / host / uhci-pci.c
index 02260cfdedb135c92d219a2e5531775355973188..49effdc0d8579c2c69d1424bdeb46e9f128f0ea9 100644 (file)
@@ -131,7 +131,7 @@ static int uhci_pci_init(struct usb_hcd *hcd)
 
        /* Intel controllers use non-PME wakeup signalling */
        if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_INTEL)
-               device_set_run_wake(uhci_dev(uhci), 1);
+               device_set_wakeup_capable(uhci_dev(uhci), true);
 
        /* Set up pointers to PCI-specific functions */
        uhci->reset_hc = uhci_pci_reset_hc;