summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-07 12:34:39 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-14 10:28:39 +0200
commit56d6ff4b8faf1c2d5c850ed8b4e5dfa6cd81413b (patch)
treef219daf84943a8426af815657ddff1c6baf1a815 /drivers/gpio/Kconfig
parent16de489e3a3009e027a86858bfd645126d391502 (diff)
downloadlwn-56d6ff4b8faf1c2d5c850ed8b4e5dfa6cd81413b.tar.gz
lwn-56d6ff4b8faf1c2d5c850ed8b4e5dfa6cd81413b.zip
gpio: davinci: allow building the module with COMPILE_TEST=y
Make it possible to build the module when COMPILE_TEST is enabled for better build coverage. Stop using of_match_ptr() to avoid build warnings. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20241007103440.38416-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index ae0dd0e8fc4d..efddc6455315 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -243,7 +243,7 @@ config GPIO_CLPS711X
config GPIO_DAVINCI
tristate "TI Davinci/Keystone GPIO support"
default y if ARCH_DAVINCI
- depends on (ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)
+ depends on ((ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)) || COMPILE_TEST
help
Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.