summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-03-08 12:59:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-31 10:46:12 -0300
commite2985a260e6615503b4fa8e66788708e750c7750 (patch)
tree4a793ca4e1cce65a6f0e3d993d04b2a56f300b5a /include/media
parenteb62d9e9d6327322a5fd3894bfecb3a3aa9391ba (diff)
downloadlinux-e2985a260e6615503b4fa8e66788708e750c7750.tar.gz
linux-e2985a260e6615503b4fa8e66788708e750c7750.tar.bz2
linux-e2985a260e6615503b4fa8e66788708e750c7750.zip
[media] s5p-fimc: Add device tree support for the media device driver
This patch adds changes required for the main camera media device driver corresponding to the top level 'camera' device node. The drivers of devices corresponding to child nodes of the 'camera' node are looked up and and registered as sub-devices to the top level driver. The main driver's probing is deferred if any of the sub-device drivers is not yet initialized and ready. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/s5p_fimc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h
index d6dbb791f423..e2c598962698 100644
--- a/include/media/s5p_fimc.h
+++ b/include/media/s5p_fimc.h
@@ -94,6 +94,7 @@ enum fimc_subdev_index {
IDX_SENSOR,
IDX_CSIS,
IDX_FLITE,
+ IDX_IS_ISP,
IDX_FIMC,
IDX_MAX,
};