From da54993ac62ca19f1bff3b1bb2a035a637e75a60 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 10 Feb 2012 00:08:02 +0100 Subject: 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 --- isp/omap3isp-priv.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'isp/omap3isp-priv.h') 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; -- cgit v1.2.3