Commit f1918fa2 authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

V4L/DVB (9126): gspca: Fix some compilation warnings in m5602.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent fadc7993
...@@ -69,7 +69,7 @@ int mt9m111_probe(struct sd *sd) ...@@ -69,7 +69,7 @@ int mt9m111_probe(struct sd *sd)
int mt9m111_init(struct sd *sd) int mt9m111_init(struct sd *sd)
{ {
int i, err; int i, err = 0;
/* Init the sensor */ /* Init the sensor */
for (i = 0; i < ARRAY_SIZE(init_mt9m111); i++) { for (i = 0; i < ARRAY_SIZE(init_mt9m111); i++) {
......
...@@ -466,7 +466,9 @@ static const unsigned char power_down_ov9650[][3] = ...@@ -466,7 +466,9 @@ static const unsigned char power_down_ov9650[][3] =
/* Vertically and horizontally flips the image if matched, needed for machines /* Vertically and horizontally flips the image if matched, needed for machines
where the sensor is mounted upside down */ where the sensor is mounted upside down */
static const struct dmi_system_id ov9650_flip_dmi_table[] = { static
const
struct dmi_system_id ov9650_flip_dmi_table[] = {
{ {
.ident = "ASUS A6VC", .ident = "ASUS A6VC",
.matches = { .matches = {
......
...@@ -339,7 +339,9 @@ static const unsigned char init_s5k4aa[][4] = ...@@ -339,7 +339,9 @@ static const unsigned char init_s5k4aa[][4] =
{SENSOR, S5K4AA_GAIN_2, 0xa0, 0x00} {SENSOR, S5K4AA_GAIN_2, 0xa0, 0x00}
}; };
static const struct dmi_system_id s5k4aa_vflip_dmi_table[] = { static
const
struct dmi_system_id s5k4aa_vflip_dmi_table[] = {
{ {
.ident = "Fujitsu-Siemens Amilo Xa 2528", .ident = "Fujitsu-Siemens Amilo Xa 2528",
.matches = { .matches = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment