diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-01-04 13:10:05 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-01-16 10:29:30 -0500 |
commit | a9e985783ed936376de9f27eff54e37d584fb855 (patch) | |
tree | 5bb7eab43433e377328143f61d8ef68a0cf2f1a3 /arch | |
parent | 3d2d03247632920aa21b42a0b032a4ffd44ce15e (diff) |
MIPS: BCM47xx: Select GPIOLIB for BCMA on bcm47xx platform
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.
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4759/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/bcm47xx/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/Kconfig b/arch/mips/bcm47xx/Kconfig index d7af29f1fcf0..ae47727b0a4a 100644 --- a/arch/mips/bcm47xx/Kconfig +++ b/arch/mips/bcm47xx/Kconfig | |||
@@ -10,6 +10,7 @@ config BCM47XX_SSB | |||
10 | select SSB_B43_PCI_BRIDGE if PCI | 10 | select SSB_B43_PCI_BRIDGE if PCI |
11 | select SSB_PCICORE_HOSTMODE if PCI | 11 | select SSB_PCICORE_HOSTMODE if PCI |
12 | select SSB_DRIVER_GPIO | 12 | select SSB_DRIVER_GPIO |
13 | select GPIOLIB | ||
13 | default y | 14 | default y |
14 | help | 15 | help |
15 | Add support for old Broadcom BCM47xx boards with Sonics Silicon Backplane support. | 16 | Add support for old Broadcom BCM47xx boards with Sonics Silicon Backplane support. |
@@ -25,6 +26,7 @@ config BCM47XX_BCMA | |||
25 | select BCMA_HOST_PCI if PCI | 26 | select BCMA_HOST_PCI if PCI |
26 | select BCMA_DRIVER_PCI_HOSTMODE if PCI | 27 | select BCMA_DRIVER_PCI_HOSTMODE if PCI |
27 | select BCMA_DRIVER_GPIO | 28 | select BCMA_DRIVER_GPIO |
29 | select GPIOLIB | ||
28 | default y | 30 | default y |
29 | help | 31 | help |
30 | Add support for new Broadcom BCM47xx boards with Broadcom specific Advanced Microcontroller Bus. | 32 | Add support for new Broadcom BCM47xx boards with Broadcom specific Advanced Microcontroller Bus. |