bcm53xx: initial support for kernel 3.18
[15.05/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch
1 From e7b1065712e769eb4de7b9d4aa222a4531c2b8fd Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Sat, 20 Sep 2014 18:21:19 +0200
4 Subject: [PATCH V2] ARM: BCM5301X: select GPIOLIB as optional
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 All routers (or 99% of them) based on BCM5301X use GPIOs to control LEDs
10 and buttons.
11
12 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
13 ---
14 V2: Don't select GPIOLIB. We may still think about making it default at
15     some point, but we dont' really require it to boot successfully.
16 ---
17  arch/arm/mach-bcm/Kconfig | 1 +
18  1 file changed, 1 insertion(+)
19
20 --- a/arch/arm/mach-bcm/Kconfig
21 +++ b/arch/arm/mach-bcm/Kconfig
22 @@ -119,6 +119,7 @@ config ARCH_BCM_63XX
23  config ARCH_BRCMSTB
24         bool "Broadcom BCM7XXX based boards" if ARCH_MULTI_V7
25         depends on MMU
26 +       select ARCH_WANT_OPTIONAL_GPIOLIB
27         select ARM_GIC
28         select MIGHT_HAVE_PCI
29         select HAVE_SMP