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

From: Koul, Vinod
Date: Tue Aug 09 2011 - 00:37:33 EST


On Tue, 2011-08-09 at 00:59 +0530, Jassi Brar wrote:
> On Tue, Aug 9, 2011 at 12:44 AM, Rob Herring <robherring2@xxxxxxxxx> wrote:
> > From: Rob Herring <rob.herring@xxxxxxxxxxx>
> >
> > 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@xxxxxxxxxxx>
> > Cc: Jassi Brar <jassisinghbrar@xxxxxxxxx>
> > Cc: Vinod Koul <vkoul@xxxxxxxxxxxxx>
>
> Acked-by: Jassi Brar <jassisinghbrar@xxxxxxxxx>
>
> 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

--
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/