Re: [PATCH] gpio: mxs: add COMPILE_TEST support for GPIO_MXS

From: Bartosz Golaszewski
Date: Wed Mar 11 2020 - 08:35:26 EST


pon., 9 mar 2020 o 03:03 Anson Huang <Anson.Huang@xxxxxxx> napisaÅ(a):
>
> Add COMPILE_TEST support to GPIO_MXS 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 b411226..3cbf888 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -400,7 +400,7 @@ config GPIO_MXC
>
> config GPIO_MXS
> def_bool y
> - depends on ARCH_MXS
> + depends on ARCH_MXS || COMPILE_TEST
> select GPIO_GENERIC
> select GENERIC_IRQ_CHIP
>
> --
> 2.7.4
>

Patch applied, thanks!

Bartosz