clk: renesas: cpg-mssr: Adjust r8a77980 ifdef
Subsystems (2)
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,
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:
Hopefully, it would be an immutable SHA1...
Quoted 11 lines
Signed-off-by Magnus Damm <[email protected]>---
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
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
Signed-off-by Magnus Damm <[email protected]>
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