mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] spi: SPI_TI_QSPI should depend on HAS_DMA
@ 2017-05-04  7:37 Geert Uytterhoeven
  2017-05-14  9:50 ` Mark Brown
  2017-05-15  8:04 ` Applied "spi: SPI_TI_QSPI should depend on HAS_DMA" to the spi tree Mark Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2017-05-04  7:37 UTC (permalink / raw)
  To: Vignesh R, Mark Brown; +Cc: linux-spi, linux-kernel, Geert Uytterhoeven

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>
---
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 6caff35af8815cda..51bf4da6dc18e7e8 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -463,6 +463,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.
-- 
2.7.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-15 10:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04  7:37 [PATCH] spi: SPI_TI_QSPI should depend on HAS_DMA Geert Uytterhoeven
2017-05-14  9:50 ` Mark Brown
2017-05-15  8:46   ` Geert Uytterhoeven
2017-05-15 10:12     ` Mark Brown
2017-05-15 10:21       ` Geert Uytterhoeven
2017-05-15 10:53         ` Mark Brown
2017-05-15  8:04 ` Applied "spi: SPI_TI_QSPI should depend on HAS_DMA" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®