V4L/DVB: v4l videobuf: use struct videobuf_buffer * instead of void * for videobuf_alloc
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 28 Mar 2010 11:09:44 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:51 +0000 (12:57 -0300)
commita4cf4cac2979a828e7cd0a3cd02d7a5308a44a7f
treeb94943cd797a075ad96f9bb9310bae160aa67e39
parent63e424856b4ab0652c58f75a2d2ecb9c1f95db27
V4L/DVB: v4l videobuf: use struct videobuf_buffer * instead of void * for videobuf_alloc

videobuf_alloc() returned a void *. Change to struct videobuf_buffer *
to get better type checking.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-core.c
drivers/media/video/videobuf-dma-contig.c
drivers/media/video/videobuf-dma-sg.c
drivers/media/video/videobuf-vmalloc.c
include/media/videobuf-core.h