Skip to content

Commit

Permalink
V4L/DVB (8561): make ivtv_claim_stream() static
Browse files Browse the repository at this point in the history
ivtv_claim_stream() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Adrian Bunk authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 95fc2ea commit 95f73c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/ivtv/ivtv-fileops.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
associated VBI streams are also automatically claimed.
Possible error returns: -EBUSY if someone else has claimed
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_stream *s = &itv->streams[type];
Expand Down
5 changes: 0 additions & 5 deletions drivers/media/video/ivtv/ivtv-fileops.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ void ivtv_unmute(struct ivtv *itv);

/* 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. */
void ivtv_release_stream(struct ivtv_stream *s);

Expand Down

0 comments on commit 95f73c5

Please sign in to comment.