Commit 0c6a3b26 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[media] uvcvideo: Make uvc_commit_video() static

The function is not used outside of its compilation unit. Make it
static.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4eb2697e
...@@ -351,7 +351,7 @@ int uvc_probe_video(struct uvc_streaming *stream, ...@@ -351,7 +351,7 @@ int uvc_probe_video(struct uvc_streaming *stream,
return ret; return ret;
} }
int uvc_commit_video(struct uvc_streaming *stream, static int uvc_commit_video(struct uvc_streaming *stream,
struct uvc_streaming_control *probe) struct uvc_streaming_control *probe)
{ {
return uvc_set_video_ctrl(stream, probe, 0); return uvc_set_video_ctrl(stream, probe, 0);
......
...@@ -551,8 +551,6 @@ extern int uvc_video_resume(struct uvc_streaming *stream, int reset); ...@@ -551,8 +551,6 @@ extern int uvc_video_resume(struct uvc_streaming *stream, int reset);
extern int uvc_video_enable(struct uvc_streaming *stream, int enable); extern int uvc_video_enable(struct uvc_streaming *stream, int enable);
extern int uvc_probe_video(struct uvc_streaming *stream, extern int uvc_probe_video(struct uvc_streaming *stream,
struct uvc_streaming_control *probe); struct uvc_streaming_control *probe);
extern int uvc_commit_video(struct uvc_streaming *stream,
struct uvc_streaming_control *ctrl);
extern int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit, extern int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit,
__u8 intfnum, __u8 cs, void *data, __u16 size); __u8 intfnum, __u8 cs, void *data, __u16 size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment