Re: [PATCH v4 2/4] gpio: vf610: enable COMPILE_TEST

From: Bartosz Golaszewski
Date: Fri Feb 02 2024 - 08:33:34 EST


On Wed, Jan 24, 2024 at 9:59 PM Martin Kaiser <martin@xxxxxxxxx> wrote:
>
> Enable COMPILE_TEST for the vf610 gpio driver to support test builds on
> systems without this hardware.
>
> Signed-off-by: Martin Kaiser <martin@xxxxxxxxx>
> ---
> v4:
> - add a new patch to enable COMPILE_TEST
>
> drivers/gpio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 353af1a4d0ac..3081406ff57a 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -713,7 +713,7 @@ config GPIO_UNIPHIER
> config GPIO_VF610
> bool "VF610 GPIO support"
> default y if SOC_VF610
> - depends on ARCH_MXC
> + depends on ARCH_MXC || COMPILE_TEST
> select GPIOLIB_IRQCHIP
> help
> Say yes here to support i.MX or Vybrid vf610 GPIOs.
> --
> 2.39.2
>

Applied, thanks!

Bart