Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
int mt9m111_init(struct sd *sd)
{
- int i, err;
+ int i, err = 0;
/* Init the sensor */
for (i = 0; i < ARRAY_SIZE(init_mt9m111); i++) {
/* Vertically and horizontally flips the image if matched, needed for machines
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",
.matches = {
{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",
.matches = {