summaryrefslogtreecommitdiff
path: root/isp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-07-25 01:39:07 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-04 15:38:00 +0200
commitcdca1b15b7eabb78e021994bb7b73320b8f26542 (patch)
tree3c08b5fc63f81d9bad9c41e737d7a483561b74fa /isp
parent9f0f82fe95718938042163e469da045011e68ce6 (diff)
Remove struct isp_video::subdev field
The field isn't used anymore, remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp')
-rw-r--r--isp/omap3isp-priv.h2
-rw-r--r--isp/omap3isp.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/isp/omap3isp-priv.h b/isp/omap3isp-priv.h
index 375c5c9..bf3e540 100644
--- a/isp/omap3isp-priv.h
+++ b/isp/omap3isp-priv.h
@@ -29,7 +29,6 @@
/*
* struct omap3_isp_video - OMAP3 video device
- * @subdev: Sub-device from which video is captured for this device
* @node: Output video node entity
* @video: V4L2 capture device
* @format: Current video format
@@ -40,7 +39,6 @@
* @running: Whether video capture is running on the device
*/
struct omap3_isp_video {
- struct media_entity *subdev;
struct media_entity *node;
struct v4l2_device *video;
struct v4l2_mbus_framefmt format;
diff --git a/isp/omap3isp.c b/isp/omap3isp.c
index 2ee87c5..6abcac5 100644
--- a/isp/omap3isp.c
+++ b/isp/omap3isp.c
@@ -439,7 +439,6 @@ struct omap3_isp_device *omap3_isp_open(const char *devname,
isp->sensor = entity;
isp->viewfinder.output.scaler = OMAP3_ISP_SCALER_ISP;
- isp->viewfinder.output.subdev = isp->resizer;
isp->viewfinder.output.node = entity_output_node(isp->resizer);
if (isp->viewfinder.output.node == NULL)
goto error;
@@ -718,7 +717,6 @@ int omap3_isp_snapshot_setup(struct omap3_isp_device *isp,
}
isp->snapshot.output.scaler = OMAP3_ISP_SCALER_ISP;
- isp->snapshot.output.subdev = entity;
isp->snapshot.output.node = entity_output_node(entity);
if (isp->snapshot.output.node == NULL)
return -ENOENT;