summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-08-23 16:37:49 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-08-23 16:37:49 -0300
commit41a0d4ee71a7cc6c77dab97f0719c2f91a52e618 (patch)
tree3bb43508fa2e96b0452daedb88723a1ff10288c4 /linux/drivers/media/common/saa7146_core.c
parent61da685dc15d30ab28f5a5de77ca79a2e4b3ef72 (diff)
downloadmediapointer-dvb-s2-41a0d4ee71a7cc6c77dab97f0719c2f91a52e618.tar.gz
mediapointer-dvb-s2-41a0d4ee71a7cc6c77dab97f0719c2f91a52e618.tar.bz2
Adapt drivers to use the newer videobuf modules
PCI-dependent videobuf_foo methods were renamed as videobuf_pci_foo. Also, videobuf_dmabuf is now part of videobuf-dma-sg private struct. So, to access it, a subroutine call is needed. This patch renames all occurences of those function calls to be consistent with the video-buf split. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981 Reviewed-by: Ricardo Cerqueira <v4l@cerqueira.org>
Diffstat (limited to 'linux/drivers/media/common/saa7146_core.c')
-rw-r--r--linux/drivers/media/common/saa7146_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_core.c b/linux/drivers/media/common/saa7146_core.c
index 702189247..b986e9ef6 100644
--- a/linux/drivers/media/common/saa7146_core.c
+++ b/linux/drivers/media/common/saa7146_core.c
@@ -100,7 +100,7 @@ int saa7146_wait_for_debi_done(struct saa7146_dev *dev, int nobusyloop)
* general helper functions
****************************************************************************/
-/* this is videobuf_vmalloc_to_sg() from video-buf.c
+/* this is videobuf_vmalloc_to_sg() from videobuf-dma-sg.c
make sure virt has been allocated with vmalloc_32(), otherwise the BUG()
may be triggered on highmem machines */
static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages)