linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: sh: Use ARCH_RENESAS
@ 2016-03-02  1:43 Simon Horman
  2016-03-02  8:25 ` Geert Uytterhoeven
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Simon Horman @ 2016-03-02  1:43 UTC (permalink / raw)
  To: linux-sh

Make use of ARCH_RENESAS in place of ARCH_SHMOBILE.

This is part of an ongoing process to migrate from ARCH_SHMOBILE to
ARCH_RENESAS the motivation for which being that RENESAS seems to be a more
appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.

ARCH_RENESAS should cover all cases where both CONFIG_OF and
ARCH_SHMOBILE are enabled.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/sh/pm_runtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

 Based on v4.5-rc6

diff --git a/drivers/sh/pm_runtime.c b/drivers/sh/pm_runtime.c
index a9bac3bf20de..aa2ce227e3eb 100644
--- a/drivers/sh/pm_runtime.c
+++ b/drivers/sh/pm_runtime.c
@@ -34,7 +34,7 @@ static struct pm_clk_notifier_block platform_bus_notifier = {
 
 static int __init sh_pm_runtime_init(void)
 {
-	if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
+	if (IS_ENABLED(CONFIG_ARCH_RENESAS)) {
 		if (!of_find_compatible_node(NULL, NULL,
 					     "renesas,cpg-mstp-clocks"))
 			return 0;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-04 13:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02  1:43 [PATCH] drivers: sh: Use ARCH_RENESAS Simon Horman
2016-03-02  8:25 ` Geert Uytterhoeven
2016-03-03  0:07 ` Simon Horman
2016-03-03  0:56 ` Simon Horman
2016-03-07 12:47 ` Geert Uytterhoeven
2016-03-11  1:54 ` Simon Horman
2016-03-28  1:00 ` Simon Horman
2016-03-28 13:16 ` Rich Felker
2016-03-29  0:06 ` Simon Horman
2016-04-04 13:55 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).