[media] s5p-fimc: Conversion to use struct v4l2_fh
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 10 Jun 2011 18:36:50 +0000 (15:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Sep 2011 20:37:18 +0000 (17:37 -0300)
commite578588eb01d9493513ca1527f464715cfd3f47f
tree8073e81fb2d3463117c9c2db1defec6990bfcbd3
parentd3953223b0905437fef7ce60506b5fdfaf98dda6
[media] s5p-fimc: Conversion to use struct v4l2_fh

This is a prerequisite for the patch converting the driver to use
the control framework. As the capture driver does not use per file
handle contexts, two separate ioctl handlers are created for it
(vidioc_try_fmt_mplane, and vidioc_g_fmt_mplane) so there is no
handlers shared between the memory-to-memory and capture video node.

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>
drivers/media/video/s5p-fimc/fimc-capture.c
drivers/media/video/s5p-fimc/fimc-core.c
drivers/media/video/s5p-fimc/fimc-core.h