Skip to content

Commit 85f286d

Browse files
geertugregkh
authored andcommitted
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 <geert@linux-m68k.org> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8537e96 commit 85f286d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/spi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ config SPI_FSL_SPI
315315
config SPI_FSL_DSPI
316316
tristate "Freescale DSPI controller"
317317
select REGMAP_MMIO
318+
depends on HAS_DMA
318319
depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
319320
help
320321
This enables support for the Freescale DSPI controller in master

0 commit comments

Comments
 (0)