diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-05-04 09:37:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-05-14 18:49:55 +0900 |
commit | 967d6941f49f1ddd5764d3a09423a63841b9394c (patch) | |
tree | 70a3fd1202cb4947aa0ed1f75a96a7e4d25c66e8 /drivers/spi/Kconfig | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | linux-stable-967d6941f49f1ddd5764d3a09423a63841b9394c.tar.gz linux-stable-967d6941f49f1ddd5764d3a09423a63841b9394c.tar.bz2 linux-stable-967d6941f49f1ddd5764d3a09423a63841b9394c.zip |
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>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1761c9004fc1..097883362036 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -457,6 +457,7 @@ config SPI_OMAP24XX config SPI_TI_QSPI tristate "DRA7xxx QSPI controller support" + depends on HAS_DMA depends on ARCH_OMAP2PLUS || COMPILE_TEST help QSPI master controller for DRA7xxx used for flash devices. |