summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorYinbo Zhu <zhuyinbo@loongson.cn>2023-03-09 19:14:07 +0800
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-03-09 15:49:48 +0100
commitb96eb88f59c023bb27891b5ab3dbd2b1a5200d53 (patch)
treedde0dbf9e11134cb615ff468bad832e3bc0d9198 /drivers/gpio/Kconfig
parentc135f401265ae1b8b15c8fd607a4a113c61d79f8 (diff)
downloadlwn-b96eb88f59c023bb27891b5ab3dbd2b1a5200d53.tar.gz
lwn-b96eb88f59c023bb27891b5ab3dbd2b1a5200d53.zip
gpio: loongson: fixup the warning about OF_GPIO direct dependencies
WARNING: unmet direct dependencies detected for OF_GPIO Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y] Selected by [y]: - GPIO_LOONGSON_64BIT [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (LOONGARCH || COMPILE_TEST [=y]) Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/oe-kbuild-all/202303091728.UUe6LWye-lkp@intel.com 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 6734c4752caa..5ef2bfbd805b 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -384,7 +384,7 @@ config GPIO_LOONGSON
config GPIO_LOONGSON_64BIT
tristate "Loongson 64 bit GPIO support"
depends on LOONGARCH || COMPILE_TEST
- select OF_GPIO
+ depends on OF_GPIO
select GPIO_GENERIC
help
Say yes here to support the GPIO functionality of a number of