[media] exynos4-is: Make fimc-lite independent of struct fimc_sensor_info
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 9 Apr 2013 14:11:58 +0000 (11:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 18:48:44 +0000 (15:48 -0300)
commit4c8f0629f53bb198ed00c2c54cf80cc2be95acab
treeeff60e69d410225ead429093e6dc4a97fcb70e3a
parent756e6e14484b3249dad9663ed1398711b62676a3
[media] exynos4-is: Make fimc-lite independent of struct fimc_sensor_info

Make the sensor subdevs host_data hold a pointer to struct fimc_source_info,
which is defined in the driver's public header, rather than a pointer to
struct fimc_sensor_info which is specific to exynos4-is media device driver.
The purpose of this change is to allow easier reuse of the fimc-lite module
in the exynos5-is driver, which should similarly store a pointer to struct
fimc_source_info instance in the sensor's subdev host_data.

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/platform/exynos4-is/fimc-capture.c
drivers/media/platform/exynos4-is/fimc-lite.c
drivers/media/platform/exynos4-is/media-dev.c
drivers/media/platform/exynos4-is/media-dev.h