Skip to content

Commit

Permalink
V4L/DVB: gspca - cpia1 / sn9c2028: Make control descriptors constant
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 2f51d00 commit a4fa8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/cpia1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/sn9c2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct init_command {
};

/* V4L2 controls supported by the driver */
static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
};

/* How to change the resolution of any of the VGA cams is unknown */
Expand Down

0 comments on commit a4fa8e9

Please sign in to comment.