summaryrefslogtreecommitdiff
path: root/drivers/media/video/omap3isp/ispvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-22 16:54:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-03 18:29:15 -0200
commit63b4ca23ed2b35742bebf8cb2af49b84b24442c6 (patch)
tree19bcdc500eabdab107a570916cdc890cd3e39b29 /drivers/media/video/omap3isp/ispvideo.h
parent57f6217be1d129e3e38bac3eadc20cbf909666b6 (diff)
downloadlinux-stable-63b4ca23ed2b35742bebf8cb2af49b84b24442c6.tar.gz
[media] omap3isp: Move media_entity_cleanup() from unregister() to cleanup()
The media_entity_cleanup() function belong to the module cleanup handlers, not the entity registration handlers. Move it there. Create a omap3isp_video_cleanup() function to cleanup the video node entity, and call it from the module cleanup handlers. Rename omap3isp_stat_free() to omap3isp_stat_cleanup(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap3isp/ispvideo.h')
-rw-r--r--drivers/media/video/omap3isp/ispvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/omap3isp/ispvideo.h b/drivers/media/video/omap3isp/ispvideo.h
index 53160aa24e6e..08cbfa144e6e 100644
--- a/drivers/media/video/omap3isp/ispvideo.h
+++ b/drivers/media/video/omap3isp/ispvideo.h
@@ -190,6 +190,7 @@ struct isp_video_fh {
container_of(q, struct isp_video_fh, queue)
int omap3isp_video_init(struct isp_video *video, const char *name);
+void omap3isp_video_cleanup(struct isp_video *video);
int omap3isp_video_register(struct isp_video *video,
struct v4l2_device *vdev);
void omap3isp_video_unregister(struct isp_video *video);