From 58b396cc4cd1524004cd4710af79cf70611f5533 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 23 Aug 2011 00:40:06 +0200 Subject: omap3isp: Add isp device field to struct omap3_isp_video Signed-off-by: Laurent Pinchart --- isp/omap3isp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'isp/omap3isp.c') diff --git a/isp/omap3isp.c b/isp/omap3isp.c index 3a75d91..f48b7a0 100644 --- a/isp/omap3isp.c +++ b/isp/omap3isp.c @@ -332,7 +332,7 @@ static void omap3_isp_pipeline_destroy(struct omap3_isp_pipeline *pipe) } static struct omap3_isp_pool * -omap3_isp_pipeline_create_pool(struct omap3_isp_device *isp __attribute__((__unused__)), +omap3_isp_pipeline_create_pool(struct omap3_isp_device *isp, const char *name) { struct omap3_isp_pool *pool; @@ -389,6 +389,7 @@ omap3_isp_pipeline_create_entity(struct omap3_isp_device *isp, memset(video, 0, sizeof *video); + video->isp = isp; video->video = v4l2_open(ment->devname); if (video->video == NULL) { printf("error: unable to open video device %s\n", -- cgit v1.2.3