spi: bcm53xx: Fix module dependency
authorAxel Lin <axel.lin@ingics.com>
Fri, 26 Sep 2014 06:18:31 +0000 (14:18 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Sep 2014 08:08:09 +0000 (09:08 +0100)
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>
drivers/spi/Kconfig

index b14b829fb45c5a5d68ec3e2d689ac844cf2ae3ce..48abea54ddb6a5ad031b8b3089ba288d45cb51d9 100644 (file)
@@ -115,6 +115,8 @@ config SPI_AU1550
 config SPI_BCM53XX
        tristate "Broadcom BCM53xx SPI controller"
        depends on ARCH_BCM_5301X
+       depends on BCMA_POSSIBLE
+       select BCMA
        help
           Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs.