gpio: brcmstb: Allow building driver for BMIPS_GENERIC
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 6 Jan 2016 18:55:23 +0000 (10:55 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Jan 2016 15:26:53 +0000 (16:26 +0100)
BMIPS_GENERIC (arch/mips/bmips) is the Kconfig symbol associated with
Broadcom MIPS-based STB chips. Since this driver is perfectly usable on
these platforms as well, allow using it.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index b60f40a423f3a0b8bc63dd4334dcd600d29142ca..cb212ebb39ffac7a129aebf6a5ea32f2e3fd916f 100644 (file)
@@ -134,8 +134,8 @@ config GPIO_BCM_KONA
 
 config GPIO_BRCMSTB
        tristate "BRCMSTB GPIO support"
-       default y if ARCH_BRCMSTB
-       depends on OF_GPIO && (ARCH_BRCMSTB || COMPILE_TEST)
+       default y if (ARCH_BRCMSTB || BMIPS_GENERIC)
+       depends on OF_GPIO && (ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST)
        select GPIO_GENERIC
        select GPIOLIB_IRQCHIP
        help
This page took 0.027428 seconds and 5 git commands to generate.