Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181554
b: refs/heads/master
c: 8ef22f7
h: refs/heads/master
v: v3
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent b719a9b commit 603c4c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4cb565cc2700e6fcd57243cacc4c2826956bc088
refs/heads/master: 8ef22f794ea5577505bc71e468183585f429afde
6 changes: 4 additions & 2 deletions trunk/drivers/media/video/cx18/cx18-fileops.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
associated VBI and IDX streams are also automatically claimed.
Possible error returns: -EBUSY if someone else has claimed
the stream or 0 on success. */
static int cx18_claim_stream(struct cx18_open_id *id, int type)
int cx18_claim_stream(struct cx18_open_id *id, int type)
{
struct cx18 *cx = id->cx;
struct cx18_stream *s = &cx->streams[type];
Expand Down Expand Up @@ -96,10 +96,11 @@ static int cx18_claim_stream(struct cx18_open_id *id, int type)
set_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags);
return 0;
}
EXPORT_SYMBOL(cx18_claim_stream);

/* This function releases a previously claimed stream. It will take into
account associated VBI streams. */
static void cx18_release_stream(struct cx18_stream *s)
void cx18_release_stream(struct cx18_stream *s)
{
struct cx18 *cx = s->cx;
struct cx18_stream *s_assoc;
Expand Down Expand Up @@ -154,6 +155,7 @@ static void cx18_release_stream(struct cx18_stream *s)
}
}
}
EXPORT_SYMBOL(cx18_release_stream);

static void cx18_dualwatch(struct cx18 *cx)
{
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/cx18/cx18-fileops.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ void cx18_stop_capture(struct cx18_open_id *id, int gop_end);
void cx18_mute(struct cx18 *cx);
void cx18_unmute(struct cx18 *cx);

/* Shared with cx18-alsa module */
int cx18_claim_stream(struct cx18_open_id *id, int type);
void cx18_release_stream(struct cx18_stream *s);

0 comments on commit 603c4c5

Please sign in to comment.