projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db592a2
)
[media] V4L: ov2640: remove undefined struct
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Wed, 27 Jul 2011 18:57:27 +0000
(15:57 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 3 Nov 2011 20:27:45 +0000
(18:27 -0200)
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>
drivers/media/video/ov2640.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/ov2640.c
b/drivers/media/video/ov2640.c
index 78bf602296f743dbd0e2834e4b34c40ea6c3fdce..31f361ed7cc50b25523933cf6223f609257eaa94 100644
(file)
--- 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;