Commit 95f73c5b authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab

V4L/DVB (8561): make ivtv_claim_stream() static

ivtv_claim_stream() can now become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 95fc2ead
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
associated VBI streams are also automatically claimed. associated VBI streams are also automatically claimed.
Possible error returns: -EBUSY if someone else has claimed Possible error returns: -EBUSY if someone else has claimed
the stream or 0 on success. */ the stream or 0 on success. */
int ivtv_claim_stream(struct ivtv_open_id *id, int type) static int ivtv_claim_stream(struct ivtv_open_id *id, int type)
{ {
struct ivtv *itv = id->itv; struct ivtv *itv = id->itv;
struct ivtv_stream *s = &itv->streams[type]; struct ivtv_stream *s = &itv->streams[type];
......
...@@ -38,11 +38,6 @@ void ivtv_unmute(struct ivtv *itv); ...@@ -38,11 +38,6 @@ void ivtv_unmute(struct ivtv *itv);
/* Utilities */ /* Utilities */
/* Try to claim a stream for the filehandle. Return 0 on success,
-EBUSY if stream already claimed. Once a stream is claimed, it
remains claimed until the associated filehandle is closed. */
int ivtv_claim_stream(struct ivtv_open_id *id, int type);
/* Release a previously claimed stream. */ /* Release a previously claimed stream. */
void ivtv_release_stream(struct ivtv_stream *s); void ivtv_release_stream(struct ivtv_stream *s);
......
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