diff options
author | Jonathan Corbet <corbet@lwn.net> | 2009-11-23 12:29:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:41:47 -0500 |
commit | f8b0bca1a7ea8479490bcc06835ccbf590ba2c4e (patch) | |
tree | 70444d1dfe1116071ad182435a4bdfc8c69c3d8a /drivers | |
parent | f58d7856695b6a3a03a56250c6c591022ac9918f (diff) |
V4L/DVB (13417): Fix videobuf_queue_vmalloc_init() prototype
For whatever reason, the device structure pointer to
videobuf_queue_vmalloc_init is typed "void *", even though it's passed
right through to videobuf_queue_core_init(), which expects a struct
device pointer. The other videobuf implementations use struct device *;
I think vmalloc should too.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/videobuf-vmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c index 99d646ed0248..d6e6a28fb6b8 100644 --- a/drivers/media/video/videobuf-vmalloc.c +++ b/drivers/media/video/videobuf-vmalloc.c | |||
@@ -392,7 +392,7 @@ static struct videobuf_qtype_ops qops = { | |||
392 | 392 | ||
393 | void videobuf_queue_vmalloc_init(struct videobuf_queue* q, | 393 | void videobuf_queue_vmalloc_init(struct videobuf_queue* q, |
394 | const struct videobuf_queue_ops *ops, | 394 | const struct videobuf_queue_ops *ops, |
395 | void *dev, | 395 | struct device *dev, |
396 | spinlock_t *irqlock, | 396 | spinlock_t *irqlock, |
397 | enum v4l2_buf_type type, | 397 | enum v4l2_buf_type type, |
398 | enum v4l2_field field, | 398 | enum v4l2_field field, |