]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/acpi/acpi_bus.h
ACPI, PCI: Move acpi_dev_run_wake() to ACPI core
[mv-sheeva.git] / include / acpi / acpi_bus.h
index e168fffe1db5c4df1c1043d82ffa5df271b38d88..f1c8ca60e8242b610b036074c459094a22d533f1 100644 (file)
@@ -394,8 +394,13 @@ static inline int acpi_pm_device_sleep_state(struct device *d, int *p)
 #endif
 
 #ifdef CONFIG_PM_SLEEP
+int acpi_pm_device_run_wake(struct device *, bool);
 int acpi_pm_device_sleep_wake(struct device *, bool);
 #else
+static inline int acpi_pm_device_run_wake(struct device *dev, bool enable)
+{
+       return -ENODEV;
+}
 static inline int acpi_pm_device_sleep_wake(struct device *dev, bool enable)
 {
        return -ENODEV;