diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-09-26 02:18:31 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-26 04:08:09 -0400 |
commit | 933fc7b06ca62741fd5067edab13068d13b3cb35 (patch) | |
tree | 8a33025b2e6d66092b22536469aedab8feb8096f | |
parent | 050429a78b2dbec763a6bb5423ea5a1fcc9adca3 (diff) |
spi: bcm53xx: Fix module dependency
config SPI_BCM53XX needs to depend on BCMA_POSSIBLE and select BCMA.
This fixes below build error:
ERROR: "bcma_driver_unregister" [drivers/spi/spi-bcm53xx.ko] undefined!
ERROR: "__bcma_driver_register" [drivers/spi/spi-bcm53xx.ko] undefined!
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b14b829fb45c..48abea54ddb6 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -115,6 +115,8 @@ config SPI_AU1550 | |||
115 | config SPI_BCM53XX | 115 | config SPI_BCM53XX |
116 | tristate "Broadcom BCM53xx SPI controller" | 116 | tristate "Broadcom BCM53xx SPI controller" |
117 | depends on ARCH_BCM_5301X | 117 | depends on ARCH_BCM_5301X |
118 | depends on BCMA_POSSIBLE | ||
119 | select BCMA | ||
118 | help | 120 | help |
119 | Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs. | 121 | Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs. |
120 | 122 | ||