[Top] [All Lists]

[PATCH] mips: bcm47xx: select GPIOLIB for BCMA on bcm47xx platform

To: "Ralf Baechle" <>
Subject: [PATCH] mips: bcm47xx: select GPIOLIB for BCMA on bcm47xx platform
From: "Arend van Spriel" <>
Date: Fri, 4 Jan 2013 19:10:05 +0100
Cc:, "Arend van Spriel" <>, "Hauke Mehrtens" <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
The Kconfig items BCM47XX_BCMA and BCM47XX_SSB selected
respectively BCMA_DRIVER_GPIO and SSB_DRIVER_GPIO. These
options depend on GPIOLIB without explicitly selecting it
so it results in a warning when GPIOLIB is not set:

scripts/kconfig/conf --oldconfig Kconfig
warning: (BCM47XX_BCMA) selects BCMA_DRIVER_GPIO ... unmet direct
        dependencies (BCMA_POSSIBLE && BCMA && GPIOLIB)
warning: (BCM47XX_SSB) selects SSB_DRIVER_GPIO ... unmet direct
        dependencies (SSB_POSSIBLE && SSB && GPIOLIB)

which subsequently results in compile errors.

Cc: Hauke Mehrtens <>
Signed-off-by: Arend van Spriel <>
Fixing a Kconfig issue in our nightly Jenkins build.

Gr. AvS
 arch/mips/bcm47xx/Kconfig |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/mips/bcm47xx/Kconfig b/arch/mips/bcm47xx/Kconfig
index d7af29f..ba61192 100644
--- a/arch/mips/bcm47xx/Kconfig
+++ b/arch/mips/bcm47xx/Kconfig
@@ -8,8 +8,10 @@ config BCM47XX_SSB
        select SSB_DRIVER_EXTIF
        select SSB_EMBEDDED
        select SSB_B43_PCI_BRIDGE if PCI
+       select SSB_DRIVER_PCICORE if PCI
        select SSB_PCICORE_HOSTMODE if PCI
        select SSB_DRIVER_GPIO
+       select GPIOLIB
        default y
         Add support for old Broadcom BCM47xx boards with Sonics Silicon 
Backplane support.
@@ -25,6 +27,7 @@ config BCM47XX_BCMA
        select BCMA_HOST_PCI if PCI
        select BCMA_DRIVER_GPIO
+       select GPIOLIB
        default y
         Add support for new Broadcom BCM47xx boards with Broadcom specific 
Advanced Microcontroller Bus.

<Prev in Thread] Current Thread [Next in Thread>