dmaengine: pl330: add missing include of scatterlist.h
PATCH 1/1 dmaengine: pl330: add missing include of scatterlist.h
From: Rob Herring <[email protected]>
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?
--- drivers/dma/pl330.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/dma/pl330.c +1 -0
@@ -15,6 +15,7 @@#include <linux/module.h> #include <linux/dmaengine.h> #include <linux/interrupt.h> +#include <linux/scatterlist.h> #include <linux/amba/bus.h> #include <linux/amba/pl330.h>
Signature · 1 line
1.7.4.1
Quoted 5 lines · Rob Herring
From: Rob Herring <[email protected]>
scatterlist.hwas getting implicitly included and now is not which causes this compile error:
Quoted 7 lines
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 <[email protected]>Cc Jassi Brar <[email protected]>Cc Vinod Koul <[email protected]>
thnx
Quoted 10 lines · Jassi Brar
Quoted 9 lines · Rob Herring
From: Rob Herring <[email protected]>
scatterlist.hwas 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?
Quoted 7 lines
Quoted 3 lines
Signed-off-by Rob Herring <[email protected]>Cc Jassi Brar <[email protected]>Cc Vinod Koul <[email protected]>Acked-by Jassi Brar <[email protected]>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
Signature · 1 line
~Vinod