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>
 
 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