]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh64/dma-mapping.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
[linux-2.6-omap-h63xx.git] / include / asm-sh64 / dma-mapping.h
index b8d26fe677f4f92cbedd09fff90ea70d1af44c4b..a74a49e47922b03e223b8db5a387d93335d1bc7c 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __ASM_SH_DMA_MAPPING_H
 #define __ASM_SH_DMA_MAPPING_H
 
-#include <linux/config.h>
 #include <linux/mm.h>
 #include <asm/scatterlist.h>
 #include <asm/io.h>
@@ -25,7 +24,7 @@ static inline int dma_set_mask(struct device *dev, u64 mask)
 }
 
 static inline void *dma_alloc_coherent(struct device *dev, size_t size,
-                        dma_addr_t *dma_handle, int flag)
+                        dma_addr_t *dma_handle, gfp_t flag)
 {
        return consistent_alloc(NULL, size, dma_handle);
 }