]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
clk: ingenic: Allow drivers to be built with COMPILE_TEST
authorStephen Boyd <sboyd@kernel.org>
Thu, 14 Nov 2019 00:19:25 +0000 (16:19 -0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 22 Nov 2019 17:02:37 +0000 (09:02 -0800)
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>
drivers/clk/ingenic/Kconfig

index fb7b3996170302dec2a60549ea46a5f0682b43a8..b4555b465ea6ad99782d97fbdf877eab7c0b96a0 100644 (file)
@@ -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