Message ID | 1404941228-9922-1-git-send-email-geert+renesas@glider.be (mailing list archive) |
---|---|
State | Accepted |
Commit | 533465a8f8a969bac17550fc6f42cea1dfaa095f |
Headers | show |
On Wed, Jul 09, 2014 at 11:27:07PM +0200, Geert Uytterhoeven wrote: > 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. Applied both, thanks.
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index d6be5e6e93e9..d46b4b9e73b2 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -396,7 +396,7 @@ config SPI_ROCKCHIP 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.
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> --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)