bf276834381735335b3d84cde20f6eaa357e90c5
[openwrt/staging/ldir.git] / target / linux / bmips / patches-5.10 / 075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch
1 From 26ea7ac92836ba616f75a1ab57e64ffc21da7758 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Wed, 31 Mar 2021 14:45:05 +0200
4 Subject: [PATCH] pinctrl: bcm63xx: Fix dependencies
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Add depends on OF so we don't get weird build errors on
10 randconfig.
11
12 Also order selects the same as the other drivers for
13 pure aestetic reasons.
14
15 Reported-by: Randy Dunlap <rdunlap@infradead.org>
16 Cc: Álvaro Fernández Rojas <noltari@gmail.com>
17 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 ---
19 drivers/pinctrl/bcm/Kconfig | 6 ++++--
20 1 file changed, 4 insertions(+), 2 deletions(-)
21
22 --- a/drivers/pinctrl/bcm/Kconfig
23 +++ b/drivers/pinctrl/bcm/Kconfig
24 @@ -31,10 +31,12 @@ config PINCTRL_BCM2835
25
26 config PINCTRL_BCM63XX
27 bool
28 + depends on OF
29 + select PINMUX
30 + select PINCONF
31 select GENERIC_PINCONF
32 + select GPIOLIB
33 select GPIO_REGMAP
34 - select PINCONF
35 - select PINMUX
36
37 config PINCTRL_BCM6318
38 bool "Broadcom BCM6318 GPIO driver"