spi: SPI_TI_QSPI should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 4 May 2017 07:37:18 +0000 (09:37 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 14 May 2017 09:49:55 +0000 (18:49 +0900)
commit967d6941f49f1ddd5764d3a09423a63841b9394c
tree70a3fd1202cb4947aa0ed1f75a96a7e4d25c66e8
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
spi: SPI_TI_QSPI should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "bad_dma_ops" [drivers/spi/spi-ti-qspi.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig