From: Geert Uytterhoeven Date: Thu, 4 May 2017 07:37:18 +0000 (+0200) Subject: spi: SPI_TI_QSPI should depend on HAS_DMA X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=967d6941f49f1ddd5764d3a09423a63841b9394c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- 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.