]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ehci-pci.c
USB: don't enable wakeup by default for PCI host controllers
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ehci-pci.c
index bdc6e86e1f8b0aed2a6d505f618ed1bdd0a43b50..9faa5c8fe025cffc57e072a02c0ac0fc6e0caf0e 100644 (file)
@@ -230,7 +230,7 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
                pci_read_config_word(pdev, 0x62, &port_wake);
                if (port_wake & 0x0001) {
                        dev_warn(&pdev->dev, "Enabling legacy PCI PM\n");
-                       device_init_wakeup(&pdev->dev, 1);
+                       device_set_wakeup_capable(&pdev->dev, 1);
                }
        }