Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181456
b: refs/heads/master
c: 7e64dc4
h: refs/heads/master
v: v3
  • Loading branch information
Marton Nemeth authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 0aed9d4 commit c1efcf2
Show file tree
Hide file tree
Showing 26 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aabcdfb65be31d7f9486d1400fa217c8827dddd3
refs/heads/master: 7e64dc4c4d6f5c8935fac25c7fc7aa83f9880ed7
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/benq.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct sd {
};

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

static const struct v4l2_pix_format vga_mode[] = {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/conex.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static int sd_getcontrast(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setcolors(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getcolors(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 trunk/drivers/media/video/gspca/etoms.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static int sd_getcolors(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setautogain(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getautogain(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 trunk/drivers/media/video/gspca/mars.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static int sd_getgamma(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setsharpness(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getsharpness(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 trunk/drivers/media/video/gspca/mr97310a.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void setexposure(struct gspca_dev *gspca_dev);
static void setgain(struct gspca_dev *gspca_dev);

/* V4L2 controls supported by the driver */
static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
/* Separate brightness control description for Argus QuickClix as it has
different limits from the other mr97310a cameras */
{
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/gspca/ov534.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static int sd_getsatur(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setfreq(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getfreq(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls_ov772x[] = {
static const struct ctrl sd_ctrls_ov772x[] = {
{ /* 0 */
{
.id = V4L2_CID_BRIGHTNESS,
Expand Down Expand Up @@ -277,7 +277,7 @@ static struct ctrl sd_ctrls_ov772x[] = {
.get = sd_getvflip,
},
};
static struct ctrl sd_ctrls_ov965x[] = {
static const struct ctrl sd_ctrls_ov965x[] = {
{ /* 0 */
{
.id = V4L2_CID_BRIGHTNESS,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/pac207.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static int sd_getautogain(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setgain(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getgain(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
#define SD_BRIGHTNESS 0
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/pac7302.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static int sd_getgain(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setexposure(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getexposure(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
/* This control is pac7302 only */
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/pac7311.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static int sd_getgain(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setexposure(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getexposure(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
/* This control is for both the 7302 and the 7311 */
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/sn9c20x.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int sd_getexposure(struct gspca_dev *gspca_dev, s32 *val);
static int sd_setautoexposure(struct gspca_dev *gspca_dev, s32 val);
static int sd_getautoexposure(struct gspca_dev *gspca_dev, s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
{
#define BRIGHTNESS_IDX 0
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/sonixb.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static int sd_getautogain(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setfreq(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getfreq(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
#define BRIGHTNESS_IDX 0
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int sd_getinfrared(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setfreq(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getfreq(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
#define BRIGHTNESS_IDX 0
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/spca500.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static int sd_getcontrast(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setcolors(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getcolors(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 trunk/drivers/media/video/gspca/spca501.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static int sd_getblue_balance(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setred_balance(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getred_balance(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
#define MY_BRIGHTNESS 0
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/spca505.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct sd {
static int sd_setbrightness(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getbrightness(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 trunk/drivers/media/video/gspca/spca506.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static int sd_getcolors(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_sethue(struct gspca_dev *gspca_dev, __s32 val);
static int sd_gethue(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
#define SD_BRIGHTNESS 0
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/spca508.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct sd {
static int sd_setbrightness(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getbrightness(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
{
{
.id = V4L2_CID_BRIGHTNESS,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/gspca/spca561.c
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ static int sd_getgain(struct gspca_dev *gspca_dev, __s32 *val)
}

/* control tables */
static struct ctrl sd_ctrls_12a[] = {
static const struct ctrl sd_ctrls_12a[] = {
{
{
.id = V4L2_CID_HUE,
Expand Down Expand Up @@ -964,7 +964,7 @@ static struct ctrl sd_ctrls_12a[] = {
},
};

static struct ctrl sd_ctrls_72a[] = {
static const struct ctrl sd_ctrls_72a[] = {
{
{
.id = V4L2_CID_HUE,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/stk014.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static int sd_getcolors(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setfreq(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getfreq(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 trunk/drivers/media/video/gspca/stv0680.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct sd {
};

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

static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/sunplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static int sd_getcolors(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setautogain(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getautogain(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 trunk/drivers/media/video/gspca/t613.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static int sd_geteffect(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_querymenu(struct gspca_dev *gspca_dev,
struct v4l2_querymenu *menu);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
{
{
.id = V4L2_CID_BRIGHTNESS,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/tv8532.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct sd {
static int sd_setbrightness(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getbrightness(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 trunk/drivers/media/video/gspca/vc032x.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static int sd_getfreq(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setsharpness(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getsharpness(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
#define BRIGHTNESS_IDX 0
{
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/gspca/zc3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static int sd_getfreq(struct gspca_dev *gspca_dev, __s32 *val);
static int sd_setsharpness(struct gspca_dev *gspca_dev, __s32 val);
static int sd_getsharpness(struct gspca_dev *gspca_dev, __s32 *val);

static struct ctrl sd_ctrls[] = {
static const struct ctrl sd_ctrls[] = {
#define BRIGHTNESS_IDX 0
#define SD_BRIGHTNESS 0
{
Expand Down

0 comments on commit c1efcf2

Please sign in to comment.