From cdca1b15b7eabb78e021994bb7b73320b8f26542 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 25 Jul 2011 01:39:07 +0200 Subject: Remove struct isp_video::subdev field The field isn't used anymore, remove it. Signed-off-by: Laurent Pinchart --- isp/omap3isp-priv.h | 2 -- isp/omap3isp.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'isp') 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; -- cgit v1.2.3