From: Geert Uytterhoeven Date: Wed, 14 Dec 2016 12:28:05 +0000 (+0100) Subject: spi: SPI_FSL_DSPI should depend on HAS_DMA X-Git-Tag: v4.4.103~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85f286d6f8cddb199d40fbf6a0dfba2eb4f94bd5;p=thirdparty%2Fkernel%2Fstable.git spi: SPI_FSL_DSPI should depend on HAS_DMA [ Upstream commit dadab2d4e3cf708ceba22ecddd94aedfecb39199 ] 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: Geert Uytterhoeven Signed-off-by: Mark Brown Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 8b9c2a38d1ccd..b0a24dedd1ed4 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -315,6 +315,7 @@ config SPI_FSL_SPI config SPI_FSL_DSPI tristate "Freescale DSPI controller" select REGMAP_MMIO + depends on HAS_DMA depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST help This enables support for the Freescale DSPI controller in master