PM: Kconfig: fix unmet dependency for CPU_PM
authorPankaj Dubey <pankaj.dubey@samsung.com>
Mon, 17 Nov 2014 06:12:44 +0000 (11:42 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Nov 2014 01:51:17 +0000 (02:51 +0100)
If BL_SWITCHER is enabled but SUSPEND and CPU_IDLE is not enabled
we are getting following config warning.

warning: (BL_SWITCHER) selects CPU_PM which has unmet direct
dependencies (SUSPEND || CPU_IDLE)

It has been noticed that CPU_PM dependencies in this file are not really
required so let's remove these dependencies from CPU_PM.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/Kconfig

index bbef57f5bdfdbc1764f015e2cafe3ec38ce79f0b..1eb7da7bc8e84f24ce137cc3b6eb58ee6aaa5e56 100644 (file)
@@ -308,4 +308,3 @@ config PM_GENERIC_DOMAINS_OF
 
 config CPU_PM
        bool
-       depends on SUSPEND || CPU_IDLE