summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-03-31 14:45:05 +0200
committerLinus Walleij <linus.walleij@linaro.org>2021-03-31 14:45:05 +0200
commit26ea7ac92836ba616f75a1ab57e64ffc21da7758 (patch)
treec13be6ec193232b712b67b3357312a71c2517a24 /drivers/pinctrl
parent1978d88cdc8eb0986d36cac0e9541220fa71d87d (diff)
pinctrl: bcm63xx: Fix dependencies
Add depends on OF so we don't get weird build errors on randconfig. Also order selects the same as the other drivers for pure aestetic reasons. Reported-by: Randy Dunlap <rdunlap@infradead.org> Cc: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/bcm/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig
index 33660e8fec05..17615674ac1a 100644
--- a/drivers/pinctrl/bcm/Kconfig
+++ b/drivers/pinctrl/bcm/Kconfig
@@ -31,10 +31,12 @@ config PINCTRL_BCM2835
config PINCTRL_BCM63XX
bool
+ depends on OF
+ select PINMUX
+ select PINCONF
select GENERIC_PINCONF
+ select GPIOLIB
select GPIO_REGMAP
- select PINCONF
- select PINMUX
config PINCTRL_BCM6318
bool "Broadcom BCM6318 GPIO driver"