]> err.no Git - linux-2.6/blobdiff - include/asm-m68k/dma-mapping.h
[PATCH] fbcmap.c: mark structs const or __read_mostly
[linux-2.6] / include / asm-m68k / dma-mapping.h
index efc89c12f83725f4325ea5a704e8cd48640ff19e..00259ed6fc9532487dda91ec8873febfe0d33a59 100644 (file)
@@ -41,7 +41,7 @@ static inline void dma_free_noncoherent(struct device *dev, size_t size,
 {
        dma_free_coherent(dev, size, addr, handle);
 }
-static inline void dma_cache_sync(void *vaddr, size_t size,
+static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
                                  enum dma_data_direction dir)
 {
        /* we use coherent allocation, so not much to do here. */