summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Schildknecht <adrien+dev@schischi.me>2015-03-25 16:31:42 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-10 15:41:50 +0200
commit179fa46fb666c8f2aa2bbb1f3114d5d826d59d3d (patch)
tree33be273b7b6ed567a058d06f3ea1c7180f608131
parentf7f8aea4b97c4d48e42f02cb37026bee445f239f (diff)
SSB: fix Kconfig dependencies
The commit 21400f252a97 ("MIPS: BCM47XX: Make ssb init NVRAM instead of bcm47xx polling it") introduces a dependency to SSB_SFLASH but did not add it to the Kconfig. drivers/ssb/driver_mipscore.c:216:36: error: 'struct ssb_mipscore' has no member named 'sflash' struct ssb_sflash *sflash = &mcore->sflash; ^ drivers/ssb/driver_mipscore.c:249:12: error: dereferencing pointer to incomplete type if (sflash->present) { ^ Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me> Cc: m@bues.ch Cc: zajec5@gmail.com Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/9598/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--drivers/ssb/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 75b3603906c1..f0d22cdb51cd 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -130,6 +130,7 @@ config SSB_DRIVER_MIPS
bool "SSB Broadcom MIPS core driver"
depends on SSB && MIPS
select SSB_SERIAL
+ select SSB_SFLASH
help
Driver for the Sonics Silicon Backplane attached
Broadcom MIPS core.