Commit 179fa46f authored by Adrien Schildknecht's avatar Adrien Schildknecht Committed by Ralf Baechle

SSB: fix Kconfig dependencies

The commit 21400f25 ("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: default avatarAdrien 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent f7f8aea4
...@@ -130,6 +130,7 @@ config SSB_DRIVER_MIPS ...@@ -130,6 +130,7 @@ config SSB_DRIVER_MIPS
bool "SSB Broadcom MIPS core driver" bool "SSB Broadcom MIPS core driver"
depends on SSB && MIPS depends on SSB && MIPS
select SSB_SERIAL select SSB_SERIAL
select SSB_SFLASH
help help
Driver for the Sonics Silicon Backplane attached Driver for the Sonics Silicon Backplane attached
Broadcom MIPS core. Broadcom MIPS core.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment