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 b60f40a..cb212eb 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