diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-03-07 05:18:59 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:46:31 -0400 |
commit | a4fa8e9e8586bc769b14069bbb663e2738abe7be (patch) | |
tree | 4564d2250be473be10dcd5776942c932189349fc /drivers | |
parent | 2f51d00ffa2a41c76fe8a492383e1c1124137694 (diff) |
V4L/DVB: gspca - cpia1 / sn9c2028: Make control descriptors constant
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/gspca/cpia1.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/sn9c2028.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/cpia1.c b/drivers/media/video/gspca/cpia1.c index 82945ed5cbe5..8fa98439c3f8 100644 --- a/drivers/media/video/gspca/cpia1.c +++ b/drivers/media/video/gspca/cpia1.c | |||
@@ -374,7 +374,7 @@ static int sd_getfreq(struct gspca_dev *gspca_dev, __s32 *val); | |||
374 | static int sd_setcomptarget(struct gspca_dev *gspca_dev, __s32 val); | 374 | static int sd_setcomptarget(struct gspca_dev *gspca_dev, __s32 val); |
375 | static int sd_getcomptarget(struct gspca_dev *gspca_dev, __s32 *val); | 375 | static int sd_getcomptarget(struct gspca_dev *gspca_dev, __s32 *val); |
376 | 376 | ||
377 | static struct ctrl sd_ctrls[] = { | 377 | static const struct ctrl sd_ctrls[] = { |
378 | { | 378 | { |
379 | { | 379 | { |
380 | .id = V4L2_CID_BRIGHTNESS, | 380 | .id = V4L2_CID_BRIGHTNESS, |
diff --git a/drivers/media/video/gspca/sn9c2028.c b/drivers/media/video/gspca/sn9c2028.c index dda5fd4aa69e..71d9447a7986 100644 --- a/drivers/media/video/gspca/sn9c2028.c +++ b/drivers/media/video/gspca/sn9c2028.c | |||
@@ -39,7 +39,7 @@ struct init_command { | |||
39 | }; | 39 | }; |
40 | 40 | ||
41 | /* V4L2 controls supported by the driver */ | 41 | /* V4L2 controls supported by the driver */ |
42 | static struct ctrl sd_ctrls[] = { | 42 | static const struct ctrl sd_ctrls[] = { |
43 | }; | 43 | }; |
44 | 44 | ||
45 | /* How to change the resolution of any of the VGA cams is unknown */ | 45 | /* How to change the resolution of any of the VGA cams is unknown */ |