[media] v4l2-ctrls: use const char * const * for the menu arrays
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 29 Dec 2010 17:25:52 +0000 (14:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Dec 2010 10:02:14 +0000 (08:02 -0200)
commit513521eaee4375a1a0da0b73c7131a165a9fe4d9
tree352f8d9053c1dd6d6866f13feed818bb24934f4a
parent6d6a48e51fd3bcb40c5b88d0f9690ba960eedfd2
[media] v4l2-ctrls: use const char * const * for the menu arrays

This prevents checkpatch warnings generated when defining
'static const char *foo[]' arrays. It makes sense to use
const char * const * anyway since the pointers in the array
are indeed const.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-controls.c
drivers/media/video/cx2341x.c
drivers/media/video/pvrusb2/pvrusb2-ctrl.c
drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
drivers/media/video/v4l2-common.c
drivers/media/video/v4l2-ctrls.c
include/media/cx2341x.h
include/media/v4l2-common.h
include/media/v4l2-ctrls.h