Skip to content

Commit 934bacb

Browse files
author
Bartosz Golaszewski
committed
gpio: omap: allow building the module with COMPILE_TEST=y
For better build coverage, allow building the gpio-omap driver with COMPILE_TEST Kconfig option enabled. While at it: simplify the dependencies and drop the dependency on ARM as it's already implied by ARCH_OMAP. Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Link: https://lore.kernel.org/r/20241205120610.40644-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
1 parent 26a4ded commit 934bacb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpio/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,9 @@ config GPIO_OCTEON
528528
family of SOCs.
529529

530530
config GPIO_OMAP
531-
tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST
531+
tristate "TI OMAP GPIO support"
532+
depends on ARCH_OMAP || COMPILE_TEST
532533
default y if ARCH_OMAP
533-
depends on ARM
534534
select GENERIC_IRQ_CHIP
535535
select GPIOLIB_IRQCHIP
536536
help

0 commit comments

Comments
 (0)