Re: [PATCH] spi: SPI_FSL_DSPI should depend on HAS_DMA

From: Mark Brown
Date: Wed Dec 14 2016 - 09:37:41 EST


On Wed, Dec 14, 2016 at 01:28:05PM +0100, Geert Uytterhoeven wrote:
> If NO_DMA=y:

> ERROR: "bad_dma_ops" [drivers/spi/spi-fsl-dspi.ko] undefined!

> Add a dependency on HAS_DMA to fix this.

Honestly I think we should just fix the architectures that don't support
DMA to provide compile out stubs for DMA, it seems like these
dependencies are more trouble than they're worth.

Attachment: signature.asc
Description: PGP signature