From: Arnd Bergmann Date: Mon, 25 Jan 2016 15:48:28 +0000 (+0100) Subject: PM: APM_EMULATION does not depend on PM X-Git-Tag: v4.9.8~2771^2^5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=993e9fe1e70aedbb6e9670211f1ad56beea8373d;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Rafael J. Wysocki --- diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 02e8dfa..68d3ebc 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -235,7 +235,7 @@ config PM_TRACE_RTC config APM_EMULATION tristate "Advanced Power Management Emulation" - depends on PM && SYS_SUPPORTS_APM_EMULATION + depends on SYS_SUPPORTS_APM_EMULATION help APM is a BIOS specification for saving power using several different techniques. This is mostly useful for battery powered laptops with