PM: APM_EMULATION does not depend on PM
authorArnd Bergmann <arnd@arndb.de>
Mon, 25 Jan 2016 15:48:28 +0000 (16:48 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 Jan 2016 22:20:14 +0000 (23:20 +0100)
commit993e9fe1e70aedbb6e9670211f1ad56beea8373d
tree82ebb538be0aa2e6f4646aab7a8b7844f1f77af6
parenta1e9ca6967d68209c70e616a224efa89a6b86ca6
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>
kernel/power/Kconfig