Commit:     18ccc4194389c6edc78ede76ada3bf753525b11c
Parent:     c9927c2bf4f45bb85e8b502ab3fb79ad6483c244
Author:     Haavard Skinnemoen <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 24 10:16:02 2007 +0200
Committer:  Haavard Skinnemoen <[EMAIL PROTECTED]>
CommitDate: Wed Oct 24 10:16:02 2007 +0200

    AVR32: Fix sg_page breakage
    The latest sg changes introduce the following build errors on AVR32:
    include/asm/dma-mapping.h: In function ‘dma_map_sg’:
    include/asm/dma-mapping.h:220: error: implicit declaration of function 
    include/asm/dma-mapping.h:220: error: invalid operands to binary -
    include/asm/dma-mapping.h:221: error: implicit declaration of function 
    include/asm/dma-mapping.h:221: warning: assignment makes pointer from 
integer without a cast
    include/asm/dma-mapping.h: In function ‘dma_sync_sg_for_device’:
    include/asm/dma-mapping.h:330: warning: passing argument 2 of 
‘dma_cache_sync’ makes pointer from integer without a cast
    Fix it by including the correct header file, i.e. linux/scatterlist.h
    instead of asm/scatterlist.h.
    Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]>
 include/asm-avr32/dma-mapping.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-avr32/dma-mapping.h b/include/asm-avr32/dma-mapping.h
index a713163..57dc672 100644
--- a/include/asm-avr32/dma-mapping.h
+++ b/include/asm-avr32/dma-mapping.h
@@ -3,7 +3,7 @@
 #include <linux/mm.h>
 #include <linux/device.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 #include <asm/processor.h>
 #include <asm/cacheflush.h>
 #include <asm/io.h>
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to