diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-11-03 06:22:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-11 08:14:04 -0500 |
commit | 0c6a3b268e14ab99960028c9ad202b9aebae0a03 (patch) | |
tree | c32eb61959491a2c7bbe4dc48c1157866396efa1 /drivers/media/video/uvc | |
parent | 4eb2697e0a65c6a30c2c6a4ae602dfc6fe68edb2 (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')
-rw-r--r-- | drivers/media/video/uvc/uvc_video.c | 4 | ||||
-rw-r--r-- | drivers/media/video/uvc/uvcvideo.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/video/uvc/uvc_video.c b/drivers/media/video/uvc/uvc_video.c index d8666ec6ffe0..b953dae5205d 100644 --- a/drivers/media/video/uvc/uvc_video.c +++ b/drivers/media/video/uvc/uvc_video.c | |||
@@ -351,8 +351,8 @@ done: | |||
351 | return ret; | 351 | return ret; |
352 | } | 352 | } |
353 | 353 | ||
354 | int uvc_commit_video(struct uvc_streaming *stream, | 354 | static int uvc_commit_video(struct uvc_streaming *stream, |
355 | struct uvc_streaming_control *probe) | 355 | struct uvc_streaming_control *probe) |
356 | { | 356 | { |
357 | return uvc_set_video_ctrl(stream, probe, 0); | 357 | return uvc_set_video_ctrl(stream, probe, 0); |
358 | } | 358 | } |
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h index 8448edc3eccd..882159aab610 100644 --- a/drivers/media/video/uvc/uvcvideo.h +++ b/drivers/media/video/uvc/uvcvideo.h | |||
@@ -551,8 +551,6 @@ extern int uvc_video_resume(struct uvc_streaming *stream, int reset); | |||
551 | extern int uvc_video_enable(struct uvc_streaming *stream, int enable); | 551 | extern int uvc_video_enable(struct uvc_streaming *stream, int enable); |
552 | extern int uvc_probe_video(struct uvc_streaming *stream, | 552 | extern int uvc_probe_video(struct uvc_streaming *stream, |
553 | struct uvc_streaming_control *probe); | 553 | struct uvc_streaming_control *probe); |
554 | extern int uvc_commit_video(struct uvc_streaming *stream, | ||
555 | struct uvc_streaming_control *ctrl); | ||
556 | extern int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit, | 554 | extern int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit, |
557 | __u8 intfnum, __u8 cs, void *data, __u16 size); | 555 | __u8 intfnum, __u8 cs, void *data, __u16 size); |
558 | 556 | ||