summaryrefslogtreecommitdiff
path: root/isp/omap3isp-priv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-02-10 00:08:02 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-04-16 23:44:55 +0200
commitda54993ac62ca19f1bff3b1bb2a035a637e75a60 (patch)
tree1342d19643fd161b8e3f182a4fe953e673316a3e /isp/omap3isp-priv.h
parentde6799715da8893206cf1cee7f7c2022278f0d55 (diff)
omap3isp: Store ccdc, preview and sensor entities in sub-structures
This will allow adding entity-specific fields such as controls to the omap3_isp_device structure. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/omap3isp-priv.h')
-rw-r--r--isp/omap3isp-priv.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/isp/omap3isp-priv.h b/isp/omap3isp-priv.h
index 28bcf73..4b3f1bd 100644
--- a/isp/omap3isp-priv.h
+++ b/isp/omap3isp-priv.h
@@ -125,9 +125,15 @@ struct omap3_isp_pipeline {
struct omap3_isp_device {
struct media_device *mdev;
- struct media_entity *ccdc;
- struct media_entity *preview;
- struct media_entity *sensor;
+ struct {
+ struct media_entity *entity;
+ } sensor;
+ struct {
+ struct media_entity *entity;
+ } ccdc;
+ struct {
+ struct media_entity *entity;
+ } preview;
struct v4l2_mbus_framefmt sensor_format;