Re: [PATCH 1/2] gpio: omap: allow building the module with COMPILE_TEST=y
From: Sverdlin, Alexander
Date: Tue Dec 03 2024 - 13:19:01 EST
On Tue, 2024-12-03 at 17:41 +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> For better build coverage, allow building the gpio-omap driver with
> COMPILE_TEST Kconfig option enabled.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>
> ---
> drivers/gpio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 56fee58e281e7..fb923ccd79028 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -530,7 +530,7 @@ config GPIO_OCTEON
> config GPIO_OMAP
> tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST
> default y if ARCH_OMAP
> - depends on ARM
> + depends on ARM || COMPILE_TEST
> select GENERIC_IRQ_CHIP
> select GPIOLIB_IRQCHIP
> help
--
Alexander Sverdlin
Siemens AG
www.siemens.com