diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-07-09 23:27:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-10 12:36:11 +0200 |
commit | 533465a8f8a969bac17550fc6f42cea1dfaa095f (patch) | |
tree | dc7db60102bdb2c8131dfee0337e13cfe3d4eb17 /drivers/spi | |
parent | spi: rspi: Pass spi_master pointer to rspi_release_dma() (diff) | |
download | linux-533465a8f8a969bac17550fc6f42cea1dfaa095f.tar.xz linux-533465a8f8a969bac17550fc6f42cea1dfaa095f.zip |
spi: rspi: Relax DMA dependency and increase build coverage
As of commit ab116a4df4942c78c189d9b0744dd940ab9e00b9 ("dmaengine:
shdma: fix a build failure on platforms with no DMA support"), the DMA
filter function shdma_chan_filter() is sufficiently abstracted to allow
building without DMA support. Hence drop the SH_DMAE_BASE dependency on
SUPERH.
Also increase build coverage by allowing the driver to be enabled if
COMPILE_TEST=y.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 213b5cbb9dcc..29630a99fecd 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -384,7 +384,7 @@ config SPI_PXA2XX_PCI config SPI_RSPI tristate "Renesas RSPI/QSPI controller" - depends on (SUPERH && SH_DMAE_BASE) || ARCH_SHMOBILE + depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST help SPI driver for Renesas RSPI and QSPI blocks. |