Re: [PATCH] gpio: mxc: Add COMPILE_TEST support for GPIO_MXC

From: Bartosz Golaszewski
Date: Wed Mar 11 2020 - 08:36:14 EST


sob., 7 mar 2020 o 14:38 Anson Huang <Anson.Huang@xxxxxxx> napisaÅ(a):
>
> Add COMPILE_TEST support to GPIO_MXC driver for better compile
> testing coverage.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> ---
> 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