mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] DMA: PL330: add missing header
@ 2011-08-23  5:57 Boojin Kim
  2011-08-23  6:32 ` Koul, Vinod
  0 siblings, 1 reply; 9+ messages in thread
From: Boojin Kim @ 2011-08-23  5:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: Vinod Koul, Kukjin Kim, Boojin Kim

This patch fixup below build error

drivers/dma/pl330.c: In function 'pl330_prep_slave_sg':
drivers/dma/pl330.c:603: error: implicit declaration of function 'for_each_sg'
drivers/dma/pl330.c:603: error: expected ';' before '{' token
drivers/dma/pl330.c:581: warning: unused variable 'flags'
drivers/dma/pl330.c: In function 'pl330_probe':
drivers/dma/pl330.c:720: warning: comparison of distinct pointer types lacks a cast
make[2]: *** [drivers/dma/pl330.o] Error 1

Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
---
 drivers/dma/pl330.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index 00eee59..fcad90c 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -17,6 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/amba/bus.h>
 #include <linux/amba/pl330.h>
+#include <linux/scatterlist.h>
 
 #define NR_DEFAULT_DESC	16
 
-- 
1.7.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-08-25 14:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23  5:57 [PATCH] DMA: PL330: add missing header Boojin Kim
2011-08-23  6:32 ` Koul, Vinod
2011-08-23  7:19   ` Boojin Kim
2011-08-23  8:15     ` Koul, Vinod
2011-08-23  8:23       ` Russell King - ARM Linux
2011-08-23  8:32         ` Koul, Vinod
2011-08-23  9:39           ` Russell King - ARM Linux
2011-08-23 10:57             ` Koul, Vinod
2011-08-25 14:38               ` Koul, Vinod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®