]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8001928d7243b83bbb426dcf9f098744b1fa9d0b
treeaeaeea69146639cd6e99aad838358edb26221f87
parentf231487076edbd9d8aed1a90799419f148d8dee5
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