diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2021-03-11 19:24:24 +0900 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-03-16 21:54:27 -0700 |
commit | fa59030bf8555a4eb83342fd23c32e30d4f2fe7a (patch) | |
tree | 0ee0d7406e6b2bc3718f89c1f4f17be6236b8df6 /arch/ia64 | |
parent | bab1770a2ce00bf201c6ac5a013a7195db2e02b7 (diff) |
riscv: Fix compilation error with Canaan SoC
When CONFIG_SOC_CANAAN is selected, the K210 sysctl driver is always
compiled. Since this driver early init function calls the function
k210_clk_early_init() implemented by the K210 clk driver, this driver
must also always be selected for compilation ot avoid build failures.
Avoid such build failures by always selecting CONFIG_COMMON_CLK and
CONFIG_COMMON_CLK_K210 when CONFIG_SOC_CANAAN is enabled.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Fixes: c6ca7616f7d5 ("clk: Add RISC-V Canaan Kendryte K210 clock driver")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions