diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-12-14 12:28:05 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:30 (GMT) |
commit | 244b9d97c0e098f9ad000749dfed67a6d3639e6b (patch) | |
tree | 5760726f6c96caa1b73cb83276365e90659aa2dc /drivers | |
parent | e088057ddc3e0f0872570bd7324884a6bb64421c (diff) | |
download | linux-244b9d97c0e098f9ad000749dfed67a6d3639e6b.tar.xz |
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>
Signed-off-by: Zhikang Zhang <zhikang.zhang@nxp.com>
Diffstat (limited to 'drivers')
-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 b799547..8e281e4 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -365,6 +365,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 |