2007-10-23 06:36:18

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH] arm: build fix

arch/arm/common/dmabounce.c: In function 'dma_map_sg':
arch/arm/common/dmabounce.c:445: error: implicit declaration of function 'sg_page'

Signed-off-by: FUJITA Tomonori <[email protected]>
---
arch/arm/common/dmabounce.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/common/dmabounce.c b/arch/arm/common/dmabounce.c
index 9d371e4..52fc6a8 100644
--- a/arch/arm/common/dmabounce.c
+++ b/arch/arm/common/dmabounce.c
@@ -29,6 +29,7 @@
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/list.h>
+#include <linux/scatterlist.h>

#include <asm/cacheflush.h>

--
1.5.2.4


2007-10-23 07:13:23

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] arm: build fix

On Tue, Oct 23 2007, FUJITA Tomonori wrote:
> arch/arm/common/dmabounce.c: In function 'dma_map_sg':
> arch/arm/common/dmabounce.c:445: error: implicit declaration of function 'sg_page'

Thanks, applied.

--
Jens Axboe