spi: rspi: Relax DMA dependency and increase build coverage
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 9 Jul 2014 21:27:07 +0000 (23:27 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 10 Jul 2014 10:36:11 +0000 (12:36 +0200)
commit533465a8f8a969bac17550fc6f42cea1dfaa095f
treedc7db60102bdb2c8131dfee0337e13cfe3d4eb17
parentafcc98dec91b7754e754670bdec0290aa07c3565
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>
drivers/spi/Kconfig