projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafd679
)
spi: SPI_FSL_DSPI should depend on HAS_DMA
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Wed, 14 Dec 2016 12:28:05 +0000
(13:28 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 14 Dec 2016 14:37:36 +0000
(14:37 +0000)
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>
drivers/spi/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/Kconfig
b/drivers/spi/Kconfig
index ec4aa252d6e8c1c761a47246851ad2645382516e..2922a9908302d84781f63d1b091ca6e4ddb2eba8 100644
(file)
--- a/
drivers/spi/Kconfig
+++ b/
drivers/spi/Kconfig
@@
-378,6
+378,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