aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-fimc/fimc-mdevice.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-06-10 14:36:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 16:49:40 -0400
commite1d72f4d521733bbf16cb5ba63683fe4147fa349 (patch)
treebe8e5825baef40898b4058f2f519e359dea781f9 /drivers/media/video/s5p-fimc/fimc-mdevice.c
parentee7160e57c98ffb03253abb2cb4ad5b1376a2257 (diff)
[media] s5p-fimc: Add v4l2_device notification support for single frame capture
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/media/video/s5p-fimc/fimc-mdevice.c')
-rw-r--r--drivers/media/video/s5p-fimc/fimc-mdevice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-mdevice.c b/drivers/media/video/s5p-fimc/fimc-mdevice.c
index db17a6fad3e0..cc337b1de913 100644
--- a/drivers/media/video/s5p-fimc/fimc-mdevice.c
+++ b/drivers/media/video/s5p-fimc/fimc-mdevice.c
@@ -759,6 +759,7 @@ static int __devinit fimc_md_probe(struct platform_device *pdev)
759 759
760 v4l2_dev = &fmd->v4l2_dev; 760 v4l2_dev = &fmd->v4l2_dev;
761 v4l2_dev->mdev = &fmd->media_dev; 761 v4l2_dev->mdev = &fmd->media_dev;
762 v4l2_dev->notify = fimc_sensor_notify;
762 snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "%s", 763 snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "%s",
763 dev_name(&pdev->dev)); 764 dev_name(&pdev->dev));
764 765