diff options
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r-- | drivers/pci/pci-acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 9d6fc8e6285d..caabf0573c3d 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -298,8 +298,7 @@ static pci_power_t acpi_pci_choose_state(struct pci_dev *pdev, | |||
298 | { | 298 | { |
299 | int acpi_state; | 299 | int acpi_state; |
300 | 300 | ||
301 | acpi_state = acpi_pm_device_sleep_state(&pdev->dev, | 301 | acpi_state = acpi_pm_device_sleep_state(&pdev->dev, NULL); |
302 | device_may_wakeup(&pdev->dev), NULL); | ||
303 | if (acpi_state < 0) | 302 | if (acpi_state < 0) |
304 | return PCI_POWER_ERROR; | 303 | return PCI_POWER_ERROR; |
305 | 304 | ||