diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-10-09 02:14:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:16 -0400 |
commit | f1918fa284afaa46201b9c20a7bbeacd8db0c977 (patch) | |
tree | 46168944da6a2e2dde8657fca7533c3e2c220905 /drivers | |
parent | fadc79935cdb74e744c72e25f739a4acc9efabf5 (diff) |
V4L/DVB (9126): gspca: Fix some compilation warnings in m5602.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_mt9m111.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov9650.h | 4 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_s5k4aa.h | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.c b/drivers/media/video/gspca/m5602/m5602_mt9m111.c index ea2250217b07..566d4925a0e8 100644 --- a/drivers/media/video/gspca/m5602/m5602_mt9m111.c +++ b/drivers/media/video/gspca/m5602/m5602_mt9m111.c | |||
@@ -69,7 +69,7 @@ sensor_found: | |||
69 | 69 | ||
70 | int mt9m111_init(struct sd *sd) | 70 | int mt9m111_init(struct sd *sd) |
71 | { | 71 | { |
72 | int i, err; | 72 | int i, err = 0; |
73 | 73 | ||
74 | /* Init the sensor */ | 74 | /* Init the sensor */ |
75 | for (i = 0; i < ARRAY_SIZE(init_mt9m111); i++) { | 75 | for (i = 0; i < ARRAY_SIZE(init_mt9m111); i++) { |
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.h b/drivers/media/video/gspca/m5602/m5602_ov9650.h index 486ea337a8b4..2f29cb056f30 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.h +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.h | |||
@@ -466,7 +466,9 @@ static const unsigned char power_down_ov9650[][3] = | |||
466 | 466 | ||
467 | /* Vertically and horizontally flips the image if matched, needed for machines | 467 | /* Vertically and horizontally flips the image if matched, needed for machines |
468 | where the sensor is mounted upside down */ | 468 | where the sensor is mounted upside down */ |
469 | static const struct dmi_system_id ov9650_flip_dmi_table[] = { | 469 | static |
470 | const | ||
471 | struct dmi_system_id ov9650_flip_dmi_table[] = { | ||
470 | { | 472 | { |
471 | .ident = "ASUS A6VC", | 473 | .ident = "ASUS A6VC", |
472 | .matches = { | 474 | .matches = { |
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k4aa.h b/drivers/media/video/gspca/m5602/m5602_s5k4aa.h index 1e4213a73214..bb7f7e3e90af 100644 --- a/drivers/media/video/gspca/m5602/m5602_s5k4aa.h +++ b/drivers/media/video/gspca/m5602/m5602_s5k4aa.h | |||
@@ -339,7 +339,9 @@ static const unsigned char init_s5k4aa[][4] = | |||
339 | {SENSOR, S5K4AA_GAIN_2, 0xa0, 0x00} | 339 | {SENSOR, S5K4AA_GAIN_2, 0xa0, 0x00} |
340 | }; | 340 | }; |
341 | 341 | ||
342 | static const struct dmi_system_id s5k4aa_vflip_dmi_table[] = { | 342 | static |
343 | const | ||
344 | struct dmi_system_id s5k4aa_vflip_dmi_table[] = { | ||
343 | { | 345 | { |
344 | .ident = "Fujitsu-Siemens Amilo Xa 2528", | 346 | .ident = "Fujitsu-Siemens Amilo Xa 2528", |
345 | .matches = { | 347 | .matches = { |