]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6292): videobuf_core init always require callback implementation
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 8 Oct 2007 15:20:02 +0000 (12:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 03:03:14 +0000 (00:03 -0300)
commitd4cae5a50021271b9ef4e5e39e71e177d12fa8cb
tree75f3def69e6b35fc02e46af5661bb45aa006ba9d
parentd5f1b01644b6fd5e9eb480a4762cd6b569cb1246
V4L/DVB (6292): videobuf_core init always require callback implementation

In the past, videobuf_queue_init were used to initialize PCI DMA videobuffers.
This patch renames it, to avoid confusion with the previous kernel API, doing:
s/videobuf_queue_init/void videobuf_queue_core_init/

Also, the operations is now part of the function parameter. The function will
also add a test if this is defined, otherwise producing BUG.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videobuf-core.c
drivers/media/video/videobuf-dma-sg.c
drivers/media/video/videobuf-vmalloc.c
include/media/videobuf-core.h