diff mbox series

clk: renesas: cpg-mssr: fix R-Car S4-8 link failure

Message ID 20211209111506.217637-1-arnd@kernel.org (mailing list archive)
State Not Applicable
Delegated to: Geert Uytterhoeven
Headers show
Series clk: renesas: cpg-mssr: fix R-Car S4-8 link failure | expand

Commit Message

Arnd Bergmann Dec. 9, 2021, 10:03 a.m. UTC
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(+)

Comments

Geert Uytterhoeven Dec. 9, 2021, 11:36 a.m. UTC | #1
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
diff mbox series

Patch

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