clk: meson: S4: select CONFIG_COMMON_CLK_MESON_CLKC_UTILS
PATCH 1/1 clk: meson: S4: select CONFIG_COMMON_CLK_MESON_CLKC_UTILS
From: Arnd Bergmann <[email protected]>
Without this, the newly added driver fails to link:
aarch64-linux-ld: drivers/clk/meson/s4-pll.o: in function `meson_s4_pll_probe':
s4-pll.c:(.text+0x13c): undefined reference to `meson_clk_hw_get'
--- drivers/clk/meson/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/clk/meson/Kconfig +1 -0
@@ -149,6 +149,7 @@ config COMMON_CLK_S4_PLL tristate "S4 SoC PLL clock controllers support" depends on ARM64 default y + select COMMON_CLK_MESON_CLKC_UTILS select COMMON_CLK_MESON_MPLL select COMMON_CLK_MESON_PLL select COMMON_CLK_MESON_REGMAP
Signature · 1 line
2.39.2
Quoted 18 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Without this, the newly added driver fails to link:
aarch64-linux-ld:
drivers/clk/meson/s4-pll.o: in function `meson_s4_pll_probe':
s4-pll.c:(.text+0x13c): undefined reference to `meson_clk_hw_get'Fixes e787c9c55edad ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/clk/meson/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/clk/meson/Kconfig +0
-0
drivers/clk/meson/Kconfig config COMMON_CLK_S4_PLL · line 155
Quoted 7 lines
drivers/clk/meson/Kconfig +1
-0@@ -149,6 +149,7 @@ config COMMON_CLK_S4_PLL tristate "S4 SoC PLL clock controllers support" depends on ARM64 default y + select COMMON_CLK_MESON_CLKC_UTILS select COMMON_CLK_MESON_MPLL select COMMON_CLK_MESON_PLL select COMMON_CLK_MESON_REGMAP
Quoted 18 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Without this, the newly added driver fails to link:
aarch64-linux-ld:
drivers/clk/meson/s4-pll.o: in function `meson_s4_pll_probe':
s4-pll.c:(.text+0x13c): undefined reference to `meson_clk_hw_get'Fixes e787c9c55edad ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/clk/meson/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/clk/meson/Kconfig +0
-0
drivers/clk/meson/Kconfig config COMMON_CLK_S4_PLL · line 155
Quoted 7 lines
drivers/clk/meson/Kconfig +1
-0@@ -149,6 +149,7 @@ config COMMON_CLK_S4_PLL tristate "S4 SoC PLL clock controllers support" depends on ARM64 default y + select COMMON_CLK_MESON_CLKC_UTILS select COMMON_CLK_MESON_MPLL select COMMON_CLK_MESON_PLL select COMMON_CLK_MESON_REGMAP
Thx Arnd and sorry about this.
Stephen, do you mind taking this directly ?
Quoted 30 lines · Jerome Brunet
Quoted 18 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Without this, the newly added driver fails to link:
aarch64-linux-ld:
drivers/clk/meson/s4-pll.o: in function `meson_s4_pll_probe':
s4-pll.c:(.text+0x13c): undefined reference to `meson_clk_hw_get'Fixes e787c9c55edad ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/clk/meson/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/clk/meson/Kconfig +0
-0drivers/clk/meson/Kconfig config COMMON_CLK_S4_PLL · line 155
Quoted 7 lines
drivers/clk/meson/Kconfig +1
-0@@ -149,6 +149,7 @@ config COMMON_CLK_S4_PLL tristate "S4 SoC PLL clock controllers support" depends on ARM64 default y + select COMMON_CLK_MESON_CLKC_UTILS select COMMON_CLK_MESON_MPLL select COMMON_CLK_MESON_PLL select COMMON_CLK_MESON_REGMAPThx Arnd and sorry about this.
Quoted 3 lines
Reviewed-by Jerome Brunet <[email protected]>Stephen, do you mind taking this directly ?
I ran into the same bug with drivers/clk/meson/s4-peripherals.c, sending a v2 of my patch to fix both at the same time, assuming v1 has not been applied yet (it's not in today's linux-next).
Arnd