diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-28 07:33:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:57:52 -0400 |
commit | f4fce60e8b1559306fa1112287bc8765f6977de3 (patch) | |
tree | 4700e3c1dd3527d09c77ae808afc7605feee893e /drivers/media/video | |
parent | 037c75eb14cd6adb837f81f0c2b2a52c31c91e69 (diff) |
V4L/DVB: v4l videobuf: rename videobuf_queue_to_vmalloc to videobuf_queue_to_vaddr
Ths function returns the virtual kernel address of the buffer and has
nothing to do with allocation.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/videobuf-core.c | 9 | ||||
-rw-r--r-- | drivers/media/video/videobuf-dvb.c | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index 26241a833894..fabe45c4163e 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c | |||
@@ -105,15 +105,14 @@ int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, | |||
105 | } | 105 | } |
106 | EXPORT_SYMBOL_GPL(videobuf_iolock); | 106 | EXPORT_SYMBOL_GPL(videobuf_iolock); |
107 | 107 | ||
108 | void *videobuf_queue_to_vmalloc(struct videobuf_queue *q, | 108 | void *videobuf_queue_to_vaddr(struct videobuf_queue *q, |
109 | struct videobuf_buffer *buf) | 109 | struct videobuf_buffer *buf) |
110 | { | 110 | { |
111 | if (q->int_ops->vaddr) | 111 | if (q->int_ops->vaddr) |
112 | return q->int_ops->vaddr(buf); | 112 | return q->int_ops->vaddr(buf); |
113 | else | 113 | return NULL; |
114 | return NULL; | ||
115 | } | 114 | } |
116 | EXPORT_SYMBOL_GPL(videobuf_queue_to_vmalloc); | 115 | EXPORT_SYMBOL_GPL(videobuf_queue_to_vaddr); |
117 | 116 | ||
118 | /* --------------------------------------------------------------------- */ | 117 | /* --------------------------------------------------------------------- */ |
119 | 118 | ||
diff --git a/drivers/media/video/videobuf-dvb.c b/drivers/media/video/videobuf-dvb.c index 0afb62e63d99..3f76398968b8 100644 --- a/drivers/media/video/videobuf-dvb.c +++ b/drivers/media/video/videobuf-dvb.c | |||
@@ -67,7 +67,7 @@ static int videobuf_dvb_thread(void *data) | |||
67 | try_to_freeze(); | 67 | try_to_freeze(); |
68 | 68 | ||
69 | /* feed buffer data to demux */ | 69 | /* feed buffer data to demux */ |
70 | outp = videobuf_queue_to_vmalloc (&dvb->dvbq, buf); | 70 | outp = videobuf_queue_to_vaddr(&dvb->dvbq, buf); |
71 | 71 | ||
72 | if (buf->state == VIDEOBUF_DONE) | 72 | if (buf->state == VIDEOBUF_DONE) |
73 | dvb_dmx_swfilter(&dvb->demux, outp, | 73 | dvb_dmx_swfilter(&dvb->demux, outp, |