Skip to content

Commit 953a92f

Browse files
rddunlapbebarino
authored andcommitted
clk: hisilicon: hi3559a: select RESET_HISI
The clk-hi3559a driver uses functions from reset.c so it should select RESET_HISI to avoid build errors. Fixes these build errors: aarch64-linux-ld: drivers/clk/hisilicon/clk-hi3559a.o: in function `hi3559av100_crg_remove': clk-hi3559a.c:(.text+0x158): undefined reference to `hisi_reset_exit' aarch64-linux-ld: drivers/clk/hisilicon/clk-hi3559a.o: in function `hi3559av100_crg_probe': clk-hi3559a.c:(.text+0x1f4): undefined reference to `hisi_reset_init' aarch64-linux-ld: clk-hi3559a.c:(.text+0x238): undefined reference to `hisi_reset_exit' Fixes: 6c81966 ("clk: hisilicon: Add clock driver for hi3559A SoC") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: Dongjiu Geng <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Michael Turquette <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Dongjiu Geng <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 24b5b19 commit 953a92f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/hisilicon/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ config COMMON_CLK_HI3519
1818
config COMMON_CLK_HI3559A
1919
bool "Hi3559A Clock Driver"
2020
depends on ARCH_HISI || COMPILE_TEST
21+
select RESET_HISI
2122
default ARCH_HISI
2223
help
2324
Build the clock driver for hi3559a.

0 commit comments

Comments
 (0)