[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211209111506.217637-1-arnd@kernel.org>
Date: Thu, 9 Dec 2021 11:03:37 +0100
From: Arnd Bergmann <arnd@...nel.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Biju Das <biju.das.jz@...renesas.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-renesas-soc@...r.kernel.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] clk: renesas: cpg-mssr: fix R-Car S4-8 link failure
From: Arnd Bergmann <arnd@...db.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@...db.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
Powered by blists - more mailing lists