From: Magnus Damm <damm@igel.co.jp>
Date: Wed, 19 Aug 2009 10:31:53 +0000 (+0000)
Subject: sh: let ARCH_SHMOBILE select PM and PM_RUNTIME
X-Git-Tag: firefly_0821_release~12920^2~35^2~17^2~1
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ac2c596b572d08dab64dde3ac1f2de934d781c9f;p=firefly-linux-kernel-4.4.55.git

sh: let ARCH_SHMOBILE select PM and PM_RUNTIME

With the Runtime PM driver changes in place, we must have
Runtime PM support in place. Otherwise there is no way to
enable clocks to the Runtime PM enabled hardware blocks.
This patch makes Runtime PM mandatory on SuperH Mobile.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index c4a955d25451..2a16014d9de3 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -219,6 +219,8 @@ config CPU_SHX3
 config ARCH_SHMOBILE
 	bool
 	select ARCH_SUSPEND_POSSIBLE
+	select PM
+	select PM_RUNTIME
 
 if SUPERH32