projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] media-entity.h: rename entity.type to entity.function
[linux-2.6-block.git]
/
drivers
/
media
/
i2c
/
ov9650.c
diff --git
a/drivers/media/i2c/ov9650.c
b/drivers/media/i2c/ov9650.c
index b4c408f2a2b0d81117124fd5058ad2707c2d9de9..27c4def7e4fcd0cfc51b9c74d15fc09e7932417e 100644
(file)
--- a/
drivers/media/i2c/ov9650.c
+++ b/
drivers/media/i2c/ov9650.c
@@
-1500,7
+1500,7
@@
static int ov965x_probe(struct i2c_client *client,
return ret;
ov965x->pad.flags = MEDIA_PAD_FL_SOURCE;
- sd->entity.
type
= MEDIA_ENT_T_V4L2_SUBDEV_SENSOR;
+ sd->entity.
function
= MEDIA_ENT_T_V4L2_SUBDEV_SENSOR;
ret = media_entity_init(&sd->entity, 1, &ov965x->pad);
if (ret < 0)
return ret;