]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/dma-mapping.h
[PATCH] struct path: move struct path from fs/namei.c into include/linux
[linux-2.6] / include / asm-powerpc / dma-mapping.h
index 3cf635b53b881308948cae8e9d94683a3a82b738..7c7de87bd8ae55391e703a5a2a76fa0866e3238b 100644 (file)
@@ -378,7 +378,7 @@ static inline void dma_sync_single_range_for_device(struct device *dev,
        dma_sync_single_for_device(dev, dma_handle, offset + size, direction);
 }
 
-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 direction)
 {
        BUG_ON(direction == DMA_NONE);