diff options
| author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-08 10:43:49 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 23:03:10 -0400 |
| commit | 5ddff43435394c1c2540fcdeed00cb54862c31bf (patch) | |
| tree | dc61fc71d81cecbf2fe515da60760e94a8bc6f5c /include/media | |
| parent | 7568e3ce6710cb2c1bc1564a273e9f222efbc95e (diff) | |
V4L/DVB (6290): remove videobuf_set_pci_ops
Before the videobuf redesign, a procedure for re-using videobuf without PCI
scatter/gather where provided by changing the pci-dependent operations by
other operations.
With the newer approach, those methods are obsolete and can safelly be removed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
| -rw-r--r-- | include/media/videobuf-core.h | 3 | ||||
| -rw-r--r-- | include/media/videobuf-dma-sg.h | 19 |
2 files changed, 0 insertions, 22 deletions
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h index 96949e31eaf8..9bae5a2eda66 100644 --- a/include/media/videobuf-core.h +++ b/include/media/videobuf-core.h | |||
| @@ -173,9 +173,6 @@ struct videobuf_queue { | |||
| 173 | 173 | ||
| 174 | /* driver private data */ | 174 | /* driver private data */ |
| 175 | void *priv_data; | 175 | void *priv_data; |
| 176 | |||
| 177 | /*FIXME: should be removed after completing the vb conversion */ | ||
| 178 | void *priv_ops; | ||
| 179 | }; | 176 | }; |
| 180 | 177 | ||
| 181 | int videobuf_waiton(struct videobuf_buffer *vb, int non_blocking, int intr); | 178 | int videobuf_waiton(struct videobuf_buffer *vb, int non_blocking, int intr); |
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 */ | ||
| 93 | typedef int (vb_map_sg_t)(void *dev, struct scatterlist *sglist, int nr_pages, | ||
| 94 | int direction); | ||
| 95 | |||
| 96 | /* FIXME: To be removed soon */ | ||
| 97 | struct 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 | |||
| 105 | void videobuf_dma_init(struct videobuf_dmabuf *dma); | 92 | void videobuf_dma_init(struct videobuf_dmabuf *dma); |
| 106 | int videobuf_dma_init_user(struct videobuf_dmabuf *dma, int direction, | 93 | int 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, | |||
| 133 | int videobuf_pci_dma_map(struct pci_dev *pci,struct videobuf_dmabuf *dma); | 120 | int videobuf_pci_dma_map(struct pci_dev *pci,struct videobuf_dmabuf *dma); |
| 134 | int videobuf_pci_dma_unmap(struct pci_dev *pci,struct videobuf_dmabuf *dma); | 121 | int 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 | */ | ||
| 139 | void videobuf_set_pci_ops (struct videobuf_queue* q, | ||
| 140 | struct videobuf_dma_sg_ops *ops); | ||
| 141 | |||
