diff options
author | Jesse Barnes <jbarnes@hobbes.lan> | 2008-06-12 12:06:58 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-12 12:06:58 -0700 |
commit | 53eb2fbeb9e68e1a9a23945de8450999c46270ce (patch) | |
tree | 3c50f8690f63b53b3cffbcc226cbbe3c8c6de753 /drivers/pci/pci.c | |
parent | 8344b568f5bdc7ee1bba909de3294c6348c36056 (diff) | |
parent | 0e6859d49ff194e01afc229c996e3aefca1a0539 (diff) | |
download | linux-53eb2fbeb9e68e1a9a23945de8450999c46270ce.tar.gz |
Merge branch 'suspend' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 into linux-next
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 15beaf48407f..7869f8f75c9e 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -506,7 +506,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state) return 0; } -pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state); +pci_power_t (*platform_pci_choose_state)(struct pci_dev *dev); /** * pci_choose_state - Choose the power state of a PCI device @@ -526,7 +526,7 @@ pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state) return PCI_D0; if (platform_pci_choose_state) { - ret = platform_pci_choose_state(dev, state); + ret = platform_pci_choose_state(dev); if (ret != PCI_POWER_ERROR) return ret; } |