| From 17ca0811acc1387b909ab0b6aa0227eb37e3fde0 Mon Sep 17 00:00:00 2001 |
| From: Mark Brown <broonie@linaro.org> |
| Date: Fri, 5 Jul 2013 19:37:51 +0100 |
| Subject: spi/rspi: Add missing dependency on DMAE |
| |
| 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> |
| (cherry picked from commit 838af505843ca6277b47816e284001dbe7875386) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/spi/Kconfig | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig |
| index 92a9345d7a6b..a51e4be46ae5 100644 |
| --- a/drivers/spi/Kconfig |
| +++ b/drivers/spi/Kconfig |
| @@ -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. |
| |
| -- |
| 1.8.5.rc3 |
| |