Skip to content

Commit 9271700

Browse files
arndbbebarino
authored andcommitted
clk: mediatek: mt81xx: Ensure fhctl code is available
Just like in commit eddc630 ("clk: mediatek: Ensure fhctl code is available for COMMON_CLK_MT6795"), these three need the shared driver code, otherwise they run into link errors such as: aarch64-linux/bin/aarch64-linux-ld: drivers/clk/mediatek/clk-mt8192-apmixedsys.o: in function `clk_mt8192_apmixed_probe': clk-mt8192-apmixedsys.c:(.text+0x134): undefined reference to `fhctl_parse_dt' Fixes: 45a5cbe ("clk: mediatek: mt8173: Add support for frequency hopping through FHCTL") Fixes: 4d586e1 ("clk: mediatek: mt8192: Add support for frequency hopping through FHCTL") Fixes: da4a82d ("clk: mediatek: mt8195: Add support for frequency hopping through FHCTL") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20230320091353.1918439-1-arnd@kernel.org Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent eddc630 commit 9271700

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/clk/mediatek/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ config COMMON_CLK_MT8173
478478
tristate "Clock driver for MediaTek MT8173"
479479
depends on ARM64 || COMPILE_TEST
480480
select COMMON_CLK_MEDIATEK
481+
select COMMON_CLK_MEDIATEK_FHCTL
481482
default ARCH_MEDIATEK
482483
help
483484
This driver supports MediaTek MT8173 basic clocks and clocks
@@ -686,6 +687,7 @@ config COMMON_CLK_MT8192
686687
tristate "Clock driver for MediaTek MT8192"
687688
depends on ARM64 || COMPILE_TEST
688689
select COMMON_CLK_MEDIATEK
690+
select COMMON_CLK_MEDIATEK_FHCTL
689691
default ARM64
690692
help
691693
This driver supports MediaTek MT8192 basic clocks.
@@ -766,6 +768,7 @@ config COMMON_CLK_MT8195
766768
bool "Clock driver for MediaTek MT8195"
767769
depends on ARM64 || COMPILE_TEST
768770
select COMMON_CLK_MEDIATEK
771+
select COMMON_CLK_MEDIATEK_FHCTL
769772
default ARCH_MEDIATEK
770773
help
771774
This driver supports MediaTek MT8195 clocks.

0 commit comments

Comments
 (0)