diff mbox series

clk: ingenic: Allow drivers to be built with COMPILE_TEST

Message ID 20191114001925.159276-1-sboyd@kernel.org (mailing list archive)
State Accepted, archived
Headers show
Series clk: ingenic: Allow drivers to be built with COMPILE_TEST | expand

Commit Message

Stephen Boyd Nov. 14, 2019, 12:19 a.m. UTC
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>
---
 drivers/clk/ingenic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul Cercueil Nov. 19, 2019, 2:59 p.m. UTC | #1
Hi Stephen,


Le mer., nov. 13, 2019 at 16:19, Stephen Boyd <sboyd@kernel.org> 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@crapouillou.net>
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>

Reviewed-by: Paul Cercueil <paul@crapouillou.net>

> ---
>  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
>
Stephen Boyd Nov. 22, 2019, 5:03 p.m. UTC | #2
Quoting Stephen Boyd (2019-11-13 16:19:25)
> 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>
> ---

Applied to clk-next
diff mbox series

Patch

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