 +	struct i2c_client *client = v4l2_get_subdevdata(sd);
 +	struct ov10635_priv *priv = to_ov10635(client);
 +
-+	return snprintf(buf, 32, "%02x:%02x:%02x:%02x:%02x\n",
-+			priv->id[0], priv->id[1], priv->id[2], priv->id[3], priv->id[4]);
-+}
-+
-+static DEVICE_ATTR(otp_id, S_IRUGO, ov10635_otp_id_show, NULL);
++	return snprintf(buf, 32, "%02x:%02x:%02x:%02x:%02x:%02x\n",
++			priv->id[0], priv->id[1], priv->id[2], priv->id[3], priv->id[4], priv->id[5]);
++}
++
++static DEVICE_ATTR(otp_id_ov10635, S_IRUGO, ov10635_otp_id_show, NULL);
 +
 +static int ov10635_initialize(struct i2c_client *client)
 +{

+		return -EINVAL;
+	}
+
+	dev_info(&client->dev, "ov490/ov10640 Product ID %x Manufacturer ID %x, rev 1%x, res %dx%d, dvp %dbit\n",
+		 pid, ver, 0xa + rev, priv->width, priv->height, priv->dvp_width);
+
+	ret = ov490_set_regs(client, ov490_regs_wizard,
+			     ARRAY_SIZE(ov490_regs_wizard));

+	char				is_fixed_sensor;
+	int				dvp_width;
+	int				init_complete;
+	u8				id[6];
+	int				exposure;
+	int				gain;
+	int				autogain;
