summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/cpia1.c
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-03-07 11:18:59 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 05:46:31 +0200
commita4fa8e9e8586bc769b14069bbb663e2738abe7be (patch)
tree4564d2250be473be10dcd5776942c932189349fc /drivers/media/video/gspca/cpia1.c
parentV4L/DVB: gspca - main: Use ktime instead of jiffies for buffer timestamping (diff)
downloadlinux-a4fa8e9e8586bc769b14069bbb663e2738abe7be.tar.xz
linux-a4fa8e9e8586bc769b14069bbb663e2738abe7be.zip
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/media/video/gspca/cpia1.c')
-rw-r--r--drivers/media/video/gspca/cpia1.c2
1 files changed, 1 insertions, 1 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);
static int sd_setcomptarget(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getcomptarget(struct gspca_dev *gspca_dev, __s32 *val);
-static struct ctrl sd_ctrls[] = {
+static const struct ctrl sd_ctrls[] = {
{
{
.id = V4L2_CID_BRIGHTNESS,