summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/bcm/Kconfig
diff options
context:
space:
mode:
authorJulian Braha <julianbraha@gmail.com>2022-01-17 01:25:57 -0500
committerLinus Walleij <linus.walleij@linaro.org>2022-01-30 02:44:00 +0100
commit3a5286955bf5febc3d151bcb2c5e272e383b64aa (patch)
tree30761dc17dc00749fb79df69f1688fc852538ed6 /drivers/pinctrl/bcm/Kconfig
parent5297c693d8c8e08fa742e3112cf70723f7a04da2 (diff)
downloadlinux-3a5286955bf5febc3d151bcb2c5e272e383b64aa.tar.bz2
pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP
When PINCTRL_BCM63XX is selected, and REGMAP is not selected, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for GPIO_REGMAP Depends on [n]: GPIOLIB [=y] && REGMAP [=n] Selected by [y]: - PINCTRL_BCM63XX [=y] && PINCTRL [=y] This is because PINCTRL_BCM63XX selects GPIO_REGMAP without selecting or depending on REGMAP, despite GPIO_REGMAP depending on REGMAP. This unmet dependency bug was detected by Kismet, a static analysis tool for Kconfig. Please advise if this is not the appropriate solution. Signed-off-by: Julian Braha <julianbraha@gmail.com> Link: https://lore.kernel.org/r/20220117062557.89568-1-julianbraha@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/bcm/Kconfig')
-rw-r--r--drivers/pinctrl/bcm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig
index 5123f4c33854..ac1e400bbbac 100644
--- a/drivers/pinctrl/bcm/Kconfig
+++ b/drivers/pinctrl/bcm/Kconfig
@@ -35,6 +35,7 @@ config PINCTRL_BCM63XX
select PINCONF
select GENERIC_PINCONF
select GPIOLIB
+ select REGMAP
select GPIO_REGMAP
config PINCTRL_BCM6318