Re: [PATCH] dmaengine: provide dummy functions for DMA_ENGINE=n

From: Dan Williams
Date: Wed Dec 22 2010 - 18:56:32 EST


On Wed, Dec 22, 2010 at 5:46 AM, Guennadi Liakhovetski
<g.liakhovetski@xxxxxx> wrote:
> This lets drivers, optionally using the dmaengine, build with DMA_ENGINE
> unselected.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> ---
>  include/linux/dmaengine.h |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)

Is this fixing build errors, or is this just relieving drivers from
needing to surround calls to dma_{request|release}_channel() with
ifdef CONFIG_DMA_ENGINE? The former makes this more urgent, the
latter can wait for the next merge window.

--
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/