clk: hisilicon: hi3559a: select RESET_HISI
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 17 Jul 2021 04:31:59 +0000 (21:31 -0700)
committerStephen Boyd <sboyd@kernel.org>
Tue, 27 Jul 2021 00:23:40 +0000 (17:23 -0700)
commit953a92f0e55f370ec76e7f85e332906f1e898ef4
tree8126c4415ada00600ee7037e5f9adb4a5896b003
parent24b5b1978cd5a80db58e2a19db2f9c36fe8d4f7a
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: 6c81966107dc ("clk: hisilicon: Add clock driver for hi3559A SoC")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Dongjiu Geng <gengdongjiu@huawei.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: stable@vger.kernel.org
Cc: linux-clk@vger.kernel.org
Cc: Michael Turquette <mturquette@baylibre.com>
Link: https://lore.kernel.org/r/20210717043159.12566-1-rdunlap@infradead.org
Reviewed-by: Dongjiu Geng <gengdongjiu1@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/hisilicon/Kconfig