diff mbox series

[v4,2/4] gpio: vf610: enable COMPILE_TEST

Message ID 20240124205900.14791-3-martin@kaiser.cx (mailing list archive)
State New, archived
Headers show
Series gpio: vf610: allow disabling the vf610 driver | expand

Commit Message

Martin Kaiser Jan. 24, 2024, 8:58 p.m. UTC
Enable COMPILE_TEST for the vf610 gpio driver to support test builds on
systems without this hardware.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
v4:
 - add a new patch to enable COMPILE_TEST

 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski Feb. 2, 2024, 1:33 p.m. UTC | #1
On Wed, Jan 24, 2024 at 9:59 PM Martin Kaiser <martin@kaiser.cx> wrote:
>
> Enable COMPILE_TEST for the vf610 gpio driver to support test builds on
> systems without this hardware.
>
> Signed-off-by: Martin Kaiser <martin@kaiser.cx>
> ---
> 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
diff mbox series

Patch

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.