aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/uvc/uvc_video.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-11-03 07:22:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-11 11:14:04 -0200
commit0c6a3b268e14ab99960028c9ad202b9aebae0a03 (patch)
treec32eb61959491a2c7bbe4dc48c1157866396efa1 /drivers/media/video/uvc/uvc_video.c
parent4eb2697e0a65c6a30c2c6a4ae602dfc6fe68edb2 (diff)
[media] uvcvideo: Make uvc_commit_video() static
The function is not used outside of its compilation unit. Make it static. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvc_video.c')
-rw-r--r--drivers/media/video/uvc/uvc_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/uvc/uvc_video.c b/drivers/media/video/uvc/uvc_video.c
index d8666ec6ffe..b953dae5205 100644
--- a/drivers/media/video/uvc/uvc_video.c
+++ b/drivers/media/video/uvc/uvc_video.c
@@ -351,8 +351,8 @@ done:
return ret;
}
-int uvc_commit_video(struct uvc_streaming *stream,
- struct uvc_streaming_control *probe)
+static int uvc_commit_video(struct uvc_streaming *stream,
+ struct uvc_streaming_control *probe)
{
return uvc_set_video_ctrl(stream, probe, 0);
}