]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13417): Fix videobuf_queue_vmalloc_init() prototype
authorJonathan Corbet <corbet@lwn.net>
Mon, 23 Nov 2009 17:29:35 +0000 (14:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:47 +0000 (18:41 -0200)
commit2745361881ad861380ca9bf7ce5f56f7df37b3f4
tree70444d1dfe1116071ad182435a4bdfc8c69c3d8a
parent6f59f76edda7701e3e33fa0131989c1d4aed8154
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>
drivers/media/video/videobuf-vmalloc.c
include/media/videobuf-vmalloc.h