linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: mxc: Add COMPILE_TEST support for GPIO_MXC
@ 2020-03-07 13:31 Anson Huang
  2020-03-11 12:36 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Anson Huang @ 2020-03-07 13:31 UTC (permalink / raw)
  To: linus.walleij, bgolaszewski, linux-gpio, linux-kernel; +Cc: Linux-imx

Add COMPILE_TEST support to GPIO_MXC driver for better compile
testing coverage.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b8013cf..b411226 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -394,7 +394,7 @@ config GPIO_MVEBU
 
 config GPIO_MXC
 	def_bool y
-	depends on ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpio: mxc: Add COMPILE_TEST support for GPIO_MXC
  2020-03-07 13:31 [PATCH] gpio: mxc: Add COMPILE_TEST support for GPIO_MXC Anson Huang
@ 2020-03-11 12:36 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2020-03-11 12:36 UTC (permalink / raw)
  To: Anson Huang; +Cc: Linus Walleij, linux-gpio, LKML, dl-linux-imx

sob., 7 mar 2020 o 14:38 Anson Huang <Anson.Huang@nxp.com> napisał(a):
>
> Add COMPILE_TEST support to GPIO_MXC driver for better compile
> testing coverage.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---
>  drivers/gpio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index b8013cf..b411226 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -394,7 +394,7 @@ config GPIO_MVEBU
>
>  config GPIO_MXC
>         def_bool y
> -       depends on ARCH_MXC
> +       depends on ARCH_MXC || COMPILE_TEST
>         select GPIO_GENERIC
>         select GENERIC_IRQ_CHIP
>
> --
> 2.7.4
>

Patch applied, thanks!

Bartosz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-11 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-07 13:31 [PATCH] gpio: mxc: Add COMPILE_TEST support for GPIO_MXC Anson Huang
2020-03-11 12:36 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).