Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dadab2d4 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mark Brown
Browse files

spi: SPI_FSL_DSPI should depend on HAS_DMA



If NO_DMA=y:

    ERROR: "bad_dma_ops" [drivers/spi/spi-fsl-dspi.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent fafd6794
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -378,6 +378,7 @@ config SPI_FSL_SPI
config SPI_FSL_DSPI
config SPI_FSL_DSPI
	tristate "Freescale DSPI controller"
	tristate "Freescale DSPI controller"
	select REGMAP_MMIO
	select REGMAP_MMIO
	depends on HAS_DMA
	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
	help
	help
	  This enables support for the Freescale DSPI controller in master
	  This enables support for the Freescale DSPI controller in master