Re: [PATCH] clk: ingenic: Allow drivers to be built with COMPILE_TEST

From: Paul Cercueil
Date: Tue Nov 19 2019 - 09:59:47 EST


Hi Stephen,


Le mer., nov. 13, 2019 at 16:19, Stephen Boyd <sboyd@xxxxxxxxxx> a écrit :
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@xxxxxxxxxxxxxxx>
Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx>

Reviewed-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

---
drivers/clk/ingenic/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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
--
Sent by a computer through tubes