aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorFrans Pop <elendil@planet.nl>2009-06-16 18:16:15 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-16 18:19:02 -0400
commit7d9a73f6dcf4390d256bf19330c81e91523a26d5 (patch)
treedddaeb3e6a1f5d5dd8d1b96ed6105566b69a3b21 /include/linux/pci.h
parentf9cde5ffed17bf74f6bef042d99edb0622f58576 (diff)
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 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 91b06be2f01e..62e8452c2ec6 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -723,7 +723,7 @@ int pci_set_power_state(struct pci_dev *dev, pci_power_t state);
723pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state); 723pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state);
724bool pci_pme_capable(struct pci_dev *dev, pci_power_t state); 724bool pci_pme_capable(struct pci_dev *dev, pci_power_t state);
725void pci_pme_active(struct pci_dev *dev, bool enable); 725void pci_pme_active(struct pci_dev *dev, bool enable);
726int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable); 726int pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable);
727int pci_wake_from_d3(struct pci_dev *dev, bool enable); 727int pci_wake_from_d3(struct pci_dev *dev, bool enable);
728pci_power_t pci_target_state(struct pci_dev *dev); 728pci_power_t pci_target_state(struct pci_dev *dev);
729int pci_prepare_to_sleep(struct pci_dev *dev); 729int pci_prepare_to_sleep(struct pci_dev *dev);