diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-25 10:48:28 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-27 17:20:14 -0500 |
commit | 993e9fe1e70aedbb6e9670211f1ad56beea8373d (patch) | |
tree | 82ebb538be0aa2e6f4646aab7a8b7844f1f77af6 | |
parent | a1e9ca6967d68209c70e616a224efa89a6b86ca6 (diff) |
PM: APM_EMULATION does not depend on PM
The APM emulation code does multiple things, and some of them depend on
PM_SLEEP, while the battery management does not. However, selecting
the symbol like SHARPSL_PM does causes a Kconfig warning:
warning: (SHARPSL_PM && PMAC_APM_EMU) selects APM_EMULATION which has unmet direct dependencies (PM && SYS_SUPPORTS_APM_EMULATION)
From all I can tell, this is completely harmless, and we can simply allow
APM_EMULATION to be enabled here, even if PM is not.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | kernel/power/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 02e8dfaa1ce2..68d3ebc12601 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -235,7 +235,7 @@ config PM_TRACE_RTC | |||
235 | 235 | ||
236 | config APM_EMULATION | 236 | config APM_EMULATION |
237 | tristate "Advanced Power Management Emulation" | 237 | tristate "Advanced Power Management Emulation" |
238 | depends on PM && SYS_SUPPORTS_APM_EMULATION | 238 | depends on SYS_SUPPORTS_APM_EMULATION |
239 | help | 239 | help |
240 | APM is a BIOS specification for saving power using several different | 240 | APM is a BIOS specification for saving power using several different |
241 | techniques. This is mostly useful for battery powered laptops with | 241 | techniques. This is mostly useful for battery powered laptops with |