diff options
author | Frans Pop <elendil@planet.nl> | 2009-06-17 00:16:15 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-06-16 15:19:02 -0700 |
commit | 7d9a73f6dcf4390d256bf19330c81e91523a26d5 (patch) | |
tree | dddaeb3e6a1f5d5dd8d1b96ed6105566b69a3b21 /drivers/pci | |
parent | f9cde5ffed17bf74f6bef042d99edb0622f58576 (diff) | |
download | op-kernel-dev-7d9a73f6dcf4390d256bf19330c81e91523a26d5.zip op-kernel-dev-7d9a73f6dcf4390d256bf19330c81e91523a26d5.tar.gz |
PCI PM: consistently use type bool for wake enable variable
Other functions use type bool, so use that for pci_enable_wake as well.
Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 7b59fd7..ccc0a0c 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1205,7 +1205,7 @@ void pci_pme_active(struct pci_dev *dev, bool enable) * Error code depending on the platform is returned if both the platform and * the native mechanism fail to enable the generation of wake-up events */ -int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable) +int pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable) { int error = 0; bool pme_done = false; |