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 |
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 --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.
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(-)