Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: nomadik: fix Kconfig dependencies inbetween pinctrl & GPIO

PINCTRL_NOMADIK cannot select GPIO_NOMADIK without first selecting
GPIOLIB on which GPIO_NOMADIK depends. GPIO_NOMADIK depends on OF_GPIO,
it is a direct dependency.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403010917.pnDhdS1Y-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202403011102.v8w2zPOU-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202403011329.1VnABMRz-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202403011546.Hpt8sBTa-lkp@intel.com/
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20240301-mbly-gpio-kconfig-fix-v1-1-2785cebd475d@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Théo Lebrun and committed by
Linus Walleij
b824f841 6ad679cf

+2 -1
+1 -1
drivers/gpio/Kconfig
··· 481 481 config GPIO_NOMADIK 482 482 bool "Nomadik GPIO driver" 483 483 depends on ARCH_U8500 || ARCH_NOMADIK || MACH_EYEQ5 || COMPILE_TEST 484 - select OF_GPIO 484 + depends on OF_GPIO 485 485 select GPIOLIB_IRQCHIP 486 486 help 487 487 Say yes here to support the Nomadik SoC GPIO block. This block is also
+1
drivers/pinctrl/nomadik/Kconfig
··· 25 25 depends on OF 26 26 select PINMUX 27 27 select PINCONF 28 + select GPIOLIB 28 29 select GPIO_NOMADIK 29 30 30 31 config PINCTRL_STN8815