]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 89cbbabaff44c66771efc3f26b18e9b4565a4cc3..175491f2bb39f968cf9ad45004a0bf403de44aff 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.