diff options
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e4548ab2a93c..75c60239cadd 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -508,7 +508,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
508 | return 0; | 508 | return 0; |
509 | } | 509 | } |
510 | 510 | ||
511 | pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state); | 511 | pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev); |
512 | 512 | ||
513 | /** | 513 | /** |
514 | * pci_choose_state - Choose the power state of a PCI device | 514 | * pci_choose_state - Choose the power state of a PCI device |
@@ -528,7 +528,7 @@ pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state) | |||
528 | return PCI_D0; | 528 | return PCI_D0; |
529 | 529 | ||
530 | if (platform_pci_choose_state) { | 530 | if (platform_pci_choose_state) { |
531 | ret = platform_pci_choose_state(dev, state); | 531 | ret = platform_pci_choose_state(dev); |
532 | if (ret != PCI_POWER_ERROR) | 532 | if (ret != PCI_POWER_ERROR) |
533 | return ret; | 533 | return ret; |
534 | } | 534 | } |