spi/rspi: Add missing dependency on DMAE
authorMark Brown <broonie@linaro.org>
Fri, 5 Jul 2013 18:37:51 +0000 (19:37 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:34:00 +0000 (11:34 +0100)
The filter function used by the rspi driver is part of the DMAE controller
driver so if the DMA controller driver is somehow disabled then the rspi
driver will fail to build.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/Kconfig

index 89cbbab..175491f 100644 (file)
@@ -341,7 +341,7 @@ config SPI_PXA2XX_PCI
 
 config SPI_RSPI
        tristate "Renesas RSPI controller"
-       depends on SUPERH
+       depends on SUPERH && SH_DMAE_BASE
        help
          SPI driver for Renesas RSPI blocks.