aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/ingenic
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-11-13 16:19:25 -0800
committerStephen Boyd <sboyd@kernel.org>2019-11-22 09:02:37 -0800
commitcd94eade0b2ab7673a97223d09406abf668b7f73 (patch)
treeb5806a51ead8c7d556a2efb63639cf937bc39160 /drivers/clk/ingenic
parentclk: Ingenic: Add CGU driver for X1000. (diff)
downloadlinux-dev-cd94eade0b2ab7673a97223d09406abf668b7f73.tar.xz
linux-dev-cd94eade0b2ab7673a97223d09406abf668b7f73.zip
clk: ingenic: Allow drivers to be built with COMPILE_TEST
We don't need the MIPS architecture or even a MIPS compiler to compile test these drivers. Let's add a COMPILE_TEST possibility on the menuconfig here so that we can build these drivers on more configurations. Cc: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lkml.kernel.org/r/20191114001925.159276-1-sboyd@kernel.org Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Diffstat (limited to 'drivers/clk/ingenic')
-rw-r--r--drivers/clk/ingenic/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ingenic/Kconfig b/drivers/clk/ingenic/Kconfig
index fb7b39961703..b4555b465ea6 100644
--- a/drivers/clk/ingenic/Kconfig
+++ b/drivers/clk/ingenic/Kconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
menu "Ingenic SoCs drivers"
- depends on MIPS
+ depends on MIPS || COMPILE_TEST
config INGENIC_CGU_COMMON
bool