android_kernel_xiaomi_sm7250/drivers/pinctrl/bcm
Necip Fazil Yildiran 98f559201c pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB
[ Upstream commit 513034d8b089b9a49dab57845aee70e830fe7334 ]

When PINCTRL_BCM2835 is enabled and GPIOLIB is disabled, it results in the
following Kbuild warning:

WARNING: unmet direct dependencies detected for GPIOLIB_IRQCHIP
  Depends on [n]: GPIOLIB [=n]
  Selected by [y]:
  - PINCTRL_BCM2835 [=y] && PINCTRL [=y] && OF [=y] && (ARCH_BCM2835 [=n] || ARCH_BRCMSTB [=n] || COMPILE_TEST [=y])

The reason is that PINCTRL_BCM2835 selects GPIOLIB_IRQCHIP without
depending on or selecting GPIOLIB while GPIOLIB_IRQCHIP is subordinate to
GPIOLIB.

Honor the kconfig menu hierarchy to remove kconfig dependency warnings.

Fixes: 85ae9e512f ("pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP")
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Link: https://lore.kernel.org/r/20200914144025.371370-1-fazilyildiran@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:55:05 +01:00
..
Kconfig pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB 2020-10-29 09:55:05 +01:00
Makefile
pinctrl-bcm281xx.c
pinctrl-bcm2835.c pinctrl: bcm2835: Use define directive for BCM2835_PINCONF_PARAM_PULL 2019-12-01 09:17:32 +01:00
pinctrl-cygnus-mux.c
pinctrl-iproc-gpio.c pinctrl: iproc-gpio: Fix incorrect pinconf configurations 2020-01-27 14:51:12 +01:00
pinctrl-ns2-mux.c pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable() 2019-11-10 11:27:17 +01:00
pinctrl-nsp-gpio.c
pinctrl-nsp-mux.c