aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/videobuf-dma-sg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/videobuf-dma-sg.h')
-rw-r--r--include/media/videobuf-dma-sg.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/media/videobuf-dma-sg.h b/include/media/videobuf-dma-sg.h
index 206d9027b39f..38105031db23 100644
--- a/include/media/videobuf-dma-sg.h
+++ b/include/media/videobuf-dma-sg.h
@@ -89,19 +89,6 @@ struct videbuf_pci_sg_memory
89 struct videobuf_dmabuf dma; 89 struct videobuf_dmabuf dma;
90}; 90};
91 91
92/* FIXME: To be removed soon */
93typedef int (vb_map_sg_t)(void *dev, struct scatterlist *sglist, int nr_pages,
94 int direction);
95
96/* FIXME: To be removed soon */
97struct videobuf_dma_sg_ops
98{
99 vb_map_sg_t *vb_map_sg;
100 vb_map_sg_t *vb_dma_sync_sg;
101 vb_map_sg_t *vb_unmap_sg;
102
103};
104
105void videobuf_dma_init(struct videobuf_dmabuf *dma); 92void videobuf_dma_init(struct videobuf_dmabuf *dma);
106int videobuf_dma_init_user(struct videobuf_dmabuf *dma, int direction, 93int videobuf_dma_init_user(struct videobuf_dmabuf *dma, int direction,
107 unsigned long data, unsigned long size); 94 unsigned long data, unsigned long size);
@@ -133,9 +120,3 @@ void videobuf_queue_pci_init(struct videobuf_queue* q,
133int videobuf_pci_dma_map(struct pci_dev *pci,struct videobuf_dmabuf *dma); 120int videobuf_pci_dma_map(struct pci_dev *pci,struct videobuf_dmabuf *dma);
134int videobuf_pci_dma_unmap(struct pci_dev *pci,struct videobuf_dmabuf *dma); 121int videobuf_pci_dma_unmap(struct pci_dev *pci,struct videobuf_dmabuf *dma);
135 122
136/* FIXME: temporary routine for vivi and tm6000, while lacking implementation
137 * of videobuf-vmalloc
138 */
139void videobuf_set_pci_ops (struct videobuf_queue* q,
140 struct videobuf_dma_sg_ops *ops);
141