]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
spi: SPI_FSL_DSPI should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 14 Dec 2016 12:28:05 +0000 (13:28 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 14 Dec 2016 14:37:36 +0000 (14:37 +0000)
commitdadab2d4e3cf708ceba22ecddd94aedfecb39199
treeb307088cd80478e14258b84f3a4272e02810b9cc
parentfafd67940774733fa97f4b09412aea6981b82e0a
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>
drivers/spi/Kconfig