V4L/DVB (13377): make struct videobuf_queue_ops constant
authorJonathan Corbet <corbet@lwn.net>
Tue, 17 Nov 2009 22:43:41 +0000 (19:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:35 +0000 (18:41 -0200)
commit38a54f35a0a90c0b62b111dd4de24248b22616b9
treeaeaeea69146639cd6e99aad838358edb26221f87
parentb18bd1d8806c0982c7835dcb58a27c4e9005e4fb
V4L/DVB (13377): make struct videobuf_queue_ops constant

The videobuf_queue_ops function vector is not declared constant, but
there's no need for the videobuf layer to ever change it.  Make it const
so that videobuf users can make their operations const without warnings.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
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
include/media/videobuf-dma-contig.h
include/media/videobuf-dma-sg.h
include/media/videobuf-vmalloc.h