mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: renesas: cpg-mssr: fix R-Car S4-8 link failure
@ 2021-12-09 10:03 Arnd Bergmann
  2021-12-09 11:36 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2021-12-09 10:03 UTC (permalink / raw)
  To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd, Yoshihiro Shimoda
  Cc: Arnd Bergmann, Biju Das, Lad Prabhakar, Wolfram Sang,
	linux-renesas-soc, linux-clk, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

Without CONFIG_CLK_RCAR_GEN4_CPG, this driver fails to link:

x86_64-linux-ld: drivers/clk/renesas/r8a779a0-cpg-mssr.o:(.init.rodata+0x70): undefined reference to `rcar_gen4_cpg_clk_register'

Fixes: 95d3d41f958f ("clk: renesas: cpg-mssr: Add support for R-Car S4-8")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/clk/renesas/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/Kconfig b/drivers/clk/renesas/Kconfig
index 0927fa963ca6..b937041faab0 100644
--- a/drivers/clk/renesas/Kconfig
+++ b/drivers/clk/renesas/Kconfig
@@ -151,6 +151,7 @@ config CLK_R8A77995
 config CLK_R8A779A0
 	bool "R-Car V3U clock support" if COMPILE_TEST
 	select CLK_RCAR_CPG_LIB
+	select CLK_RCAR_GEN4_CPG
 	select CLK_RENESAS_CPG_MSSR
 
 config CLK_R8A779F0
-- 
2.29.2


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

* Re: [PATCH] clk: renesas: cpg-mssr: fix R-Car S4-8 link failure
  2021-12-09 10:03 [PATCH] clk: renesas: cpg-mssr: fix R-Car S4-8 link failure Arnd Bergmann
@ 2021-12-09 11:36 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-12-09 11:36 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Michael Turquette, Stephen Boyd, Yoshihiro Shimoda,
	Arnd Bergmann, Biju Das, Lad Prabhakar, Wolfram Sang,
	Linux-Renesas, linux-clk, Linux Kernel Mailing List

Hi Arnd,

On Thu, Dec 9, 2021 at 12:15 PM Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> Without CONFIG_CLK_RCAR_GEN4_CPG, this driver fails to link:
>
> x86_64-linux-ld: drivers/clk/renesas/r8a779a0-cpg-mssr.o:(.init.rodata+0x70): undefined reference to `rcar_gen4_cpg_clk_register'
>
> Fixes: 95d3d41f958f ("clk: renesas: cpg-mssr: Add support for R-Car S4-8")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thanks, but this is already fixed.
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=renesas-clk-for-v5.17&id=470e3f0d0b1529abf9759c93e23ac8dd678e0e70

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

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

end of thread, other threads:[~2021-12-09 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 10:03 [PATCH] clk: renesas: cpg-mssr: fix R-Car S4-8 link failure Arnd Bergmann
2021-12-09 11:36 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®