diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index ace518116cc5db887b7c35bc4478cd83c904507f..44a46c92b721a2c6d97fe1b795b6e4c0b1656ad6 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -17,6 +17,7 @@ #include #include #include +#include #include /* isa_dma_bridge_buggy */ #include "pci.h" diff --git a/include/linux/pm_wakeup.h b/include/linux/pm_wakeup.h index 3af0c8d05cdcb2e89cd70cc5de16fb264a771bd0..0aae7776185e63523a3eac6535adfbd8f9524e28 100644 --- a/include/linux/pm_wakeup.h +++ b/include/linux/pm_wakeup.h @@ -63,6 +63,8 @@ static inline void device_init_wakeup(struct device *dev, int val) dev->power.can_wakeup = !!val; } +static inline void device_set_wakeup_capable(struct device *dev, int val) { } + static inline int device_can_wakeup(struct device *dev) { return dev->power.can_wakeup;