aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c2
1 files changed, 1 insertions, 1 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 */
1208int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable) 1208int 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;