]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/asm-ppc/dma-mapping.h
[PATCH] ppc32: nvram driver for chrp
[mv-sheeva.git] / include / asm-ppc / dma-mapping.h
index 92b8ee78dcc21b6a959219ec9ef8da7872fb26a7..061bfcac1bf1c359802f9f755b776d92b3b78e22 100644 (file)
@@ -61,7 +61,7 @@ static inline int dma_set_mask(struct device *dev, u64 dma_mask)
 
 static inline void *dma_alloc_coherent(struct device *dev, size_t size,
                                       dma_addr_t * dma_handle,
-                                      unsigned int __nocast gfp)
+                                      gfp_t gfp)
 {
 #ifdef CONFIG_NOT_COHERENT_CACHE
        return __dma_alloc_coherent(size, dma_handle, gfp);