diff options
-rw-r--r-- | drivers/pci/pci.c | 2 | ||||
-rw-r--r-- | include/linux/pci.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 7b59fd7c9575..ccc0a0ccbef9 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) | |||
1205 | * Error code depending on the platform is returned if both the platform and | 1205 | * Error code depending on the platform is returned if both the platform and |
1206 | * the native mechanism fail to enable the generation of wake-up events | 1206 | * the native mechanism fail to enable the generation of wake-up events |
1207 | */ | 1207 | */ |
1208 | int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable) | 1208 | int pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable) |
1209 | { | 1209 | { |
1210 | int error = 0; | 1210 | int error = 0; |
1211 | bool pme_done = false; | 1211 | bool pme_done = false; |
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); | |||
723 | pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state); | 723 | pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state); |
724 | bool pci_pme_capable(struct pci_dev *dev, pci_power_t state); | 724 | bool pci_pme_capable(struct pci_dev *dev, pci_power_t state); |
725 | void pci_pme_active(struct pci_dev *dev, bool enable); | 725 | void pci_pme_active(struct pci_dev *dev, bool enable); |
726 | int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable); | 726 | int pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable); |
727 | int pci_wake_from_d3(struct pci_dev *dev, bool enable); | 727 | int pci_wake_from_d3(struct pci_dev *dev, bool enable); |
728 | pci_power_t pci_target_state(struct pci_dev *dev); | 728 | pci_power_t pci_target_state(struct pci_dev *dev); |
729 | int pci_prepare_to_sleep(struct pci_dev *dev); | 729 | int pci_prepare_to_sleep(struct pci_dev *dev); |