Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1518d3b authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM / Kconfig: Do not select PM directly from Kconfig files



It is not valid to select CONFIG_PM directly without selecting
CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME too, because that breaks
dependencies (ia64 does that) and it is not necessary to select
CONFIG_PM directly if CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is
selected, because CONFIG_PM will be set automatically in that
case (sh does that).

Fix those mistakes.

Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarKevin Hilman <khilman@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent fbb988be
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ config IA64
	select PCI if (!IA64_HP_SIM)
	select ACPI if (!IA64_HP_SIM)
	select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
	select PM if (!IA64_HP_SIM)
	select HAVE_UNSTABLE_SCHED_CLOCK
	select HAVE_IDE
	select HAVE_OPROFILE
+0 −1
Original line number Diff line number Diff line
@@ -222,7 +222,6 @@ config CPU_SHX3
config ARCH_SHMOBILE
	bool
	select ARCH_SUSPEND_POSSIBLE
	select PM
	select PM_RUNTIME

config CPU_HAS_PMU