Skip to content

Commit 98408df

Browse files
arndbjbrun3t
authored andcommitted
clk: meson: S4: select CONFIG_COMMON_CLK_MESON_CLKC_UTILS
Without this, the newly added drivers fail 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' aarch64-linux-ld: drivers/clk/meson/s4-peripherals.o: in function `meson_s4_periphs_probe': s4-peripherals.c:(.text+0xb0): undefined reference to `meson_clk_hw_get' Fixes: e787c9c ("clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver") Reviewed-by: Jerome Brunet <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] [jbrunet: use 12 char for the Fixes as recommended ] Signed-off-by: Jerome Brunet <[email protected]>
1 parent 57b55c7 commit 98408df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clk/meson/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ config COMMON_CLK_S4_PLL
149149
tristate "S4 SoC PLL clock controllers support"
150150
depends on ARM64
151151
default y
152+
select COMMON_CLK_MESON_CLKC_UTILS
152153
select COMMON_CLK_MESON_MPLL
153154
select COMMON_CLK_MESON_PLL
154155
select COMMON_CLK_MESON_REGMAP
@@ -161,6 +162,7 @@ config COMMON_CLK_S4_PERIPHERALS
161162
tristate "S4 SoC peripherals clock controllers support"
162163
depends on ARM64
163164
default y
165+
select COMMON_CLK_MESON_CLKC_UTILS
164166
select COMMON_CLK_MESON_REGMAP
165167
select COMMON_CLK_MESON_DUALDIV
166168
select COMMON_CLK_MESON_VID_PLL_DIV

0 commit comments

Comments
 (0)