Skip to content

Commit dd44d4d

Browse files
arndbBartosz Golaszewski
authored andcommitted
gpio: tb10x: fix OF_GPIO dependency
Selecting OF_GPIO is generally not allowed, it always gets enabled when both GPIOLIB and OF are turned on. The tb10x driver now warns about this after it was enabled for compile-testing: WARNING: unmet direct dependencies detected for OF_GPIO Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y] Selected by [y]: - GPIO_TB10X [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (ARC_PLAT_TB10X || COMPILE_TEST [=y]) OF_GPIO is not required for compile-testing and is already enabled when the driver is usable, so just drop the 'select' line. Fixes: 682fbb1 ("gpio: tb10x: allow building the module with COMPILE_TEST=y") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20251205095429.1291866-1-arnd@kernel.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
1 parent db9c67b commit dd44d4d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpio/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,6 @@ config GPIO_TB10X
737737
depends on ARC_PLAT_TB10X || COMPILE_TEST
738738
select GPIO_GENERIC
739739
select GENERIC_IRQ_CHIP
740-
select OF_GPIO
741740

742741
config GPIO_TEGRA
743742
tristate "NVIDIA Tegra GPIO support"

0 commit comments

Comments
 (0)