提交 993e9fe1 编写于 作者: A Arnd Bergmann 提交者: Rafael J. Wysocki

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: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 a1e9ca69
...@@ -235,7 +235,7 @@ config PM_TRACE_RTC ...@@ -235,7 +235,7 @@ config PM_TRACE_RTC
config APM_EMULATION config APM_EMULATION
tristate "Advanced Power Management Emulation" tristate "Advanced Power Management Emulation"
depends on PM && SYS_SUPPORTS_APM_EMULATION depends on SYS_SUPPORTS_APM_EMULATION
help help
APM is a BIOS specification for saving power using several different APM is a BIOS specification for saving power using several different
techniques. This is mostly useful for battery powered laptops with techniques. This is mostly useful for battery powered laptops with
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册