Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ssb: host_soc depends on sprom

Drivers that use the SSB sprom functionality typically 'select SSB_SPROM'
from Kconfig, but CONFIG_SSB_HOST_SOC misses this, which results in
a build failure unless at least one of the other drivers that selects
it is enabled:

drivers/built-in.o: In function `ssb_host_soc_get_invariants':
(.text+0x459494): undefined reference to `ssb_fill_sprom_with_fallback'

This adds the same select statement that is used elsewhere.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 541c9a84cd85 ("ssb: pick SoC invariants code from MIPS BCM47xx arch")
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

authored by

Arnd Bergmann and committed by
Kalle Valo
10da848f 1a4f6557

+1
+1
drivers/ssb/Kconfig
··· 83 83 config SSB_HOST_SOC 84 84 bool "Support for SSB bus on SoC" 85 85 depends on SSB && BCM47XX_NVRAM 86 + select SSB_SPROM 86 87 help 87 88 Host interface for a SSB directly mapped into memory. This is 88 89 for some Broadcom SoCs from the BCM47xx and BCM53xx lines.