diff options
Diffstat (limited to 'include/linux/dma-buf.h')
-rw-r--r-- | include/linux/dma-buf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h index 6f55c0424f12..dfac5ed31120 100644 --- a/include/linux/dma-buf.h +++ b/include/linux/dma-buf.h | |||
@@ -113,6 +113,7 @@ struct dma_buf_ops { | |||
113 | * @attachments: list of dma_buf_attachment that denotes all devices attached. | 113 | * @attachments: list of dma_buf_attachment that denotes all devices attached. |
114 | * @ops: dma_buf_ops associated with this buffer object. | 114 | * @ops: dma_buf_ops associated with this buffer object. |
115 | * @exp_name: name of the exporter; useful for debugging. | 115 | * @exp_name: name of the exporter; useful for debugging. |
116 | * @list_node: node for dma_buf accounting and debugging. | ||
116 | * @priv: exporter specific private data for this buffer object. | 117 | * @priv: exporter specific private data for this buffer object. |
117 | */ | 118 | */ |
118 | struct dma_buf { | 119 | struct dma_buf { |
@@ -125,6 +126,7 @@ struct dma_buf { | |||
125 | unsigned vmapping_counter; | 126 | unsigned vmapping_counter; |
126 | void *vmap_ptr; | 127 | void *vmap_ptr; |
127 | const char *exp_name; | 128 | const char *exp_name; |
129 | struct list_head list_node; | ||
128 | void *priv; | 130 | void *priv; |
129 | }; | 131 | }; |
130 | 132 | ||
@@ -192,5 +194,6 @@ int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *, | |||
192 | unsigned long); | 194 | unsigned long); |
193 | void *dma_buf_vmap(struct dma_buf *); | 195 | void *dma_buf_vmap(struct dma_buf *); |
194 | void dma_buf_vunmap(struct dma_buf *, void *vaddr); | 196 | void dma_buf_vunmap(struct dma_buf *, void *vaddr); |
195 | 197 | int dma_buf_debugfs_create_file(const char *name, | |
198 | int (*write)(struct seq_file *)); | ||
196 | #endif /* __DMA_BUF_H__ */ | 199 | #endif /* __DMA_BUF_H__ */ |