diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-07-27 20:57:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-03 21:27:45 +0100 |
commit | 97a0a611e8dfa8f8f7c7b1c49239b0ab44cc3710 (patch) | |
tree | b9ed1f1ab33a22a93c9e9f3a19e1a52f84efdf59 /drivers/media/video/ov2640.c | |
parent | [media] V4L: mx2_camera: convert to the new mbus-config subdev operations (diff) | |
download | linux-97a0a611e8dfa8f8f7c7b1c49239b0ab44cc3710.tar.xz linux-97a0a611e8dfa8f8f7c7b1c49239b0ab44cc3710.zip |
[media] V4L: ov2640: remove undefined struct
struct ov2640_camera_info isn't declared anywhere, remove it.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ov2640.c')
-rw-r--r-- | drivers/media/video/ov2640.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/ov2640.c b/drivers/media/video/ov2640.c index 78bf602296f7..31f361ed7cc5 100644 --- a/drivers/media/video/ov2640.c +++ b/drivers/media/video/ov2640.c @@ -300,7 +300,6 @@ struct ov2640_win_size { struct ov2640_priv { struct v4l2_subdev subdev; - struct ov2640_camera_info *info; enum v4l2_mbus_pixelcode cfmt_code; const struct ov2640_win_size *win; int model; @@ -1153,8 +1152,6 @@ static int ov2640_probe(struct i2c_client *client, return -ENOMEM; } - priv->info = icl->priv; - v4l2_i2c_subdev_init(&priv->subdev, client, &ov2640_subdev_ops); icd->ops = &ov2640_ops; |