[PATCH] dmaengine: pl330: add missing include of scatterlist.h

Koul, Vinod vinod.koul at intel.com
Tue Aug 9 00:36:18 EDT 2011


On Tue, 2011-08-09 at 00:59 +0530, Jassi Brar wrote:
> On Tue, Aug 9, 2011 at 12:44 AM, Rob Herring <robherring2 at gmail.com> wrote:
> > From: Rob Herring <rob.herring at calxeda.com>
> >
> > scatterlist.h was getting implicitly included and now is not which
> > causes this compile error:
> >
> > drivers/dma/pl330.c: In function ‘pl330_prep_slave_sg’:
> > drivers/dma/pl330.c:603:2: error: implicit declaration of function
> > ‘for_each_sg’
> >
> > Signed-off-by: Rob Herring <rob.herring at calxeda.com>
> > Cc: Jassi Brar <jassisinghbrar at gmail.com>
> > Cc: Vinod Koul <vkoul at infradead.org>
> 
> Acked-by: Jassi Brar <jassisinghbrar at gmail.com>
> 
> thnx

Commit 90b44f8 introduces dmaengine_prep_slave_single API which adds
scatterlist.h in dmaengine.h, since you already include dmaengine.h this
patch shouldn't be required

-- 
~Vinod




More information about the linux-arm-kernel mailing list