summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/dma-mapping.h')
-rw-r--r--include/asm-sparc/dma-mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h
index 2dc5bb8effa..d7c3b0f0a90 100644
--- a/include/asm-sparc/dma-mapping.h
+++ b/include/asm-sparc/dma-mapping.h
@@ -8,7 +8,7 @@
#else
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)
{
BUG();
return NULL;