diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-08 14:00:44 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-08 14:00:44 -0500 |
commit | e3d857e1ae787a5e268bc89425aadae09c8e95a4 (patch) | |
tree | 65477adb3476db58d6619ae467a5994e13770a72 /include/acpi | |
parent | cfc75ed68ba703f9d1c96705672c3dd944621f6b (diff) | |
parent | 2713775bf570b3ccc0f68130e6f1b623c9e191b7 (diff) |
Merge branch 'pm-runtime'
* pm-runtime: (25 commits)
i2c-omap / PM: Drop CONFIG_PM_RUNTIME from i2c-omap.c
dmaengine / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
drivers: sh / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
e1000e / igb / PM: Eliminate CONFIG_PM_RUNTIME
MMC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
MFD / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
misc / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
media / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
input / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
iio / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
hsi / OMAP / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
i2c-hid / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
gpio / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
hwrandom / exynos / PM: Use CONFIG_PM in #ifdef
block / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
USB / PM: Drop CONFIG_PM_RUNTIME from the USB core
PM: Merge the SET*_RUNTIME_PM_OPS() macros
PM / Kconfig: Do not select PM directly from Kconfig files
PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI core
...
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index d53908438e95..7581518e3eff 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -545,6 +545,7 @@ acpi_status acpi_add_pm_notifier(struct acpi_device *adev, struct device *dev, | |||
545 | void (*work_func)(struct work_struct *work)); | 545 | void (*work_func)(struct work_struct *work)); |
546 | acpi_status acpi_remove_pm_notifier(struct acpi_device *adev); | 546 | acpi_status acpi_remove_pm_notifier(struct acpi_device *adev); |
547 | int acpi_pm_device_sleep_state(struct device *, int *, int); | 547 | int acpi_pm_device_sleep_state(struct device *, int *, int); |
548 | int acpi_pm_device_run_wake(struct device *, bool); | ||
548 | #else | 549 | #else |
549 | static inline acpi_status acpi_add_pm_notifier(struct acpi_device *adev, | 550 | static inline acpi_status acpi_add_pm_notifier(struct acpi_device *adev, |
550 | struct device *dev, | 551 | struct device *dev, |
@@ -564,11 +565,6 @@ static inline int acpi_pm_device_sleep_state(struct device *d, int *p, int m) | |||
564 | return (m >= ACPI_STATE_D0 && m <= ACPI_STATE_D3_COLD) ? | 565 | return (m >= ACPI_STATE_D0 && m <= ACPI_STATE_D3_COLD) ? |
565 | m : ACPI_STATE_D0; | 566 | m : ACPI_STATE_D0; |
566 | } | 567 | } |
567 | #endif | ||
568 | |||
569 | #ifdef CONFIG_PM_RUNTIME | ||
570 | int acpi_pm_device_run_wake(struct device *, bool); | ||
571 | #else | ||
572 | static inline int acpi_pm_device_run_wake(struct device *dev, bool enable) | 568 | static inline int acpi_pm_device_run_wake(struct device *dev, bool enable) |
573 | { | 569 | { |
574 | return -ENODEV; | 570 | return -ENODEV; |