diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-12-14 07:28:05 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-14 09:37:36 -0500 |
commit | dadab2d4e3cf708ceba22ecddd94aedfecb39199 (patch) | |
tree | b307088cd80478e14258b84f3a4272e02810b9cc | |
parent | fafd67940774733fa97f4b09412aea6981b82e0a (diff) |
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: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-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 ec4aa252d6e8..2922a9908302 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -378,6 +378,7 @@ config SPI_FSL_SPI | |||
378 | config SPI_FSL_DSPI | 378 | config SPI_FSL_DSPI |
379 | tristate "Freescale DSPI controller" | 379 | tristate "Freescale DSPI controller" |
380 | select REGMAP_MMIO | 380 | select REGMAP_MMIO |
381 | depends on HAS_DMA | ||
381 | depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST | 382 | depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST |
382 | help | 383 | help |
383 | This enables support for the Freescale DSPI controller in master | 384 | This enables support for the Freescale DSPI controller in master |