Re: [PATCH] spi: core: Protect DMA code by #ifdef CONFIG_HAS_DMA

From: Mark Brown
Date: Fri May 02 2014 - 21:52:35 EST


On Fri, May 02, 2014 at 11:09:18PM +0200, Geert Uytterhoeven wrote:
> On Fri, May 2, 2014 at 7:14 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:

> > Ugh. It would seem better to have these functions stubbed out. But

> As long as we have include/asm-generic/dma-mapping-broken.h,
> it'll be like this...

Yeah, I'm not sure that it's an ideal approach.

> BTW, I have a few more "depends on HAS_DMA" patches lying around for
> drivers...

Sure - it's good to fix these things, fire away.

Attachment: signature.asc
Description: Digital signature