dma-buf: Use struct dma_buf_map in dma_buf_vunmap() interfaces
[linux-2.6-microblaze.git] / include / linux / dma-buf.h
index 7237997..cf77cc1 100644 (file)
@@ -267,7 +267,7 @@ struct dma_buf_ops {
        int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
 
        int (*vmap)(struct dma_buf *dmabuf, struct dma_buf_map *map);
-       void (*vunmap)(struct dma_buf *, void *vaddr);
+       void (*vunmap)(struct dma_buf *dmabuf, struct dma_buf_map *map);
 };
 
 /**
@@ -504,5 +504,5 @@ int dma_buf_end_cpu_access(struct dma_buf *dma_buf,
 int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
                 unsigned long);
 int dma_buf_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map);
-void dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr);
+void dma_buf_vunmap(struct dma_buf *dmabuf, struct dma_buf_map *map);
 #endif /* __DMA_BUF_H__ */