Skip to contentSkip to conversation

clk: renesas: cpg-mssr: Adjust r8a77980 ifdef

PATCH In review Magnus Damm 3 participants 3 messages Mar 20, 2018 – Mar 21, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: renesas: cpg-mssr: Adjust r8a77980 ifdef

From: Magnus Damm <[email protected]>

Adjust the R8A77980-specific #ifdefs to use CLK instead of ARCH to follow same style as other SoCs.

---

Noticed in renesas-drivers-2018-03-13-v4.16-rc5

 drivers/clk/renesas/renesas-cpg-mssr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/renesas/renesas-cpg-mssr.c +1 -1
@@ -705,7 +705,7 @@ static const struct of_device_id cpg_mss
 		.data = &r8a77970_cpg_mssr_info,
 	},
 #endif
-#ifdef CONFIG_ARCH_R8A77980
+#ifdef CONFIG_CLK_R8A77980
 	{
 		.compatible = "renesas,r8a77980-cpg-mssr",
 		.data = &r8a77980_cpg_mssr_info,
#1 lore raw

Hello!

Quoted 4 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Adjust the R8A77980-specific #ifdefs to use CLK instead of ARCH to follow same style as other SoCs.

I guess we should add:

Fixes ce15783c510a ("clk: renesas: cpg-mssr: add R8A77980 support")

Hopefully, it would be an immutable SHA1...

Quoted 11 lines

---

Noticed in renesas-drivers-2018-03-13-v4.16-rc5

 drivers/clk/renesas/renesas-cpg-mssr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/clk/renesas/renesas-cpg-mssr.c static const struct of_device_id cpg_mss · line 708

Quoted 5 lines
drivers/clk/renesas/renesas-cpg-mssr.c +1 -1
@@ -705,7 +705,7 @@ static const struct of_device_id cpg_mss
 		.data = &r8a77970_cpg_mssr_info,
 	},
 #endif
-#ifdef CONFIG_ARCH_R8A77980
+#ifdef CONFIG_CLK_R8A77980

Oops, sorry about that overlook. :-<

drivers/clk/renesas/renesas-cpg-mssr.c static const struct of_device_id cpg_mss · line 711

Quoted 3 lines
drivers/clk/renesas/renesas-cpg-mssr.c +0 -0
 	{
 		.compatible = "renesas,r8a77980-cpg-mssr",
 		.data = &r8a77980_cpg_mssr_info,

MBR, Sergei

#2 lore raw
Quoted 13 lines · Sergei Shtylyov
Quoted 4 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Adjust the R8A77980-specific #ifdefs to use CLK instead of ARCH to follow same style as other SoCs.

I guess we should add:

Fixes ce15783c510a ("clk: renesas: cpg-mssr: add R8A77980 support")

Hopefully, it would be an immutable SHA1...

Quoted 1 line

Thank you, will queue in clk-renesas-for-v4.17.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds