diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2011-07-01 13:38:13 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-30 17:39:34 +0100 |
commit | 87eaec5dff4e20228fb6ac72dc849fd12f4e86be (patch) | |
tree | bf97bb6bc7c186ccb750f5c831ca4538ca17959a /drivers | |
parent | [media] m5mols: Change auto exposure control default value to AUTO (diff) | |
download | linux-87eaec5dff4e20228fb6ac72dc849fd12f4e86be.tar.xz linux-87eaec5dff4e20228fb6ac72dc849fd12f4e86be.zip |
[media] m5mols: Enable v4l subdev device node
Set V4L2_SUBDEV_FL_HAS_DEVNODE flag for the host driver to create
the sensor device node.
Acked-by: HeungJun Kim <riverful.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/m5mols/m5mols_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/m5mols/m5mols_core.c b/drivers/media/video/m5mols/m5mols_core.c index e8a971fa3726..93d768db9f33 100644 --- a/drivers/media/video/m5mols/m5mols_core.c +++ b/drivers/media/video/m5mols/m5mols_core.c @@ -984,6 +984,7 @@ static int __devinit m5mols_probe(struct i2c_client *client, sd = &info->sd; strlcpy(sd->name, MODULE_NAME, sizeof(sd->name)); v4l2_i2c_subdev_init(sd, client, &m5mols_ops); + sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; sd->internal_ops = &m5mols_subdev_internal_ops; info->pad.flags = MEDIA_PAD_FL_SOURCE; |