Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97a0a611 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mauro Carvalho Chehab
Browse files

[media] V4L: ov2640: remove undefined struct



struct ov2640_camera_info isn't declared anywhere, remove it.

Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent db592a24
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -300,7 +300,6 @@ struct ov2640_win_size {


struct ov2640_priv {
struct ov2640_priv {
	struct v4l2_subdev		subdev;
	struct v4l2_subdev		subdev;
	struct ov2640_camera_info	*info;
	enum v4l2_mbus_pixelcode	cfmt_code;
	enum v4l2_mbus_pixelcode	cfmt_code;
	const struct ov2640_win_size	*win;
	const struct ov2640_win_size	*win;
	int				model;
	int				model;
@@ -1153,8 +1152,6 @@ static int ov2640_probe(struct i2c_client *client,
		return -ENOMEM;
		return -ENOMEM;
	}
	}


	priv->info = icl->priv;

	v4l2_i2c_subdev_init(&priv->subdev, client, &ov2640_subdev_ops);
	v4l2_i2c_subdev_init(&priv->subdev, client, &ov2640_subdev_ops);


	icd->ops = &ov2640_ops;
	icd->ops = &ov2640_ops;