diff options
Diffstat (limited to 'drivers/media/video/cx18/cx18-fileops.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-fileops.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-fileops.c b/drivers/media/video/cx18/cx18-fileops.c index eef842b87651..863ce7758239 100644 --- a/drivers/media/video/cx18/cx18-fileops.c +++ b/drivers/media/video/cx18/cx18-fileops.c | |||
@@ -40,7 +40,7 @@ | |||
40 | associated VBI and IDX streams are also automatically claimed. | 40 | associated VBI and IDX streams are also automatically claimed. |
41 | Possible error returns: -EBUSY if someone else has claimed | 41 | Possible error returns: -EBUSY if someone else has claimed |
42 | the stream or 0 on success. */ | 42 | the stream or 0 on success. */ |
43 | static int cx18_claim_stream(struct cx18_open_id *id, int type) | 43 | int cx18_claim_stream(struct cx18_open_id *id, int type) |
44 | { | 44 | { |
45 | struct cx18 *cx = id->cx; | 45 | struct cx18 *cx = id->cx; |
46 | struct cx18_stream *s = &cx->streams[type]; | 46 | struct cx18_stream *s = &cx->streams[type]; |
@@ -96,10 +96,11 @@ static int cx18_claim_stream(struct cx18_open_id *id, int type) | |||
96 | set_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags); | 96 | set_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags); |
97 | return 0; | 97 | return 0; |
98 | } | 98 | } |
99 | EXPORT_SYMBOL(cx18_claim_stream); | ||
99 | 100 | ||
100 | /* This function releases a previously claimed stream. It will take into | 101 | /* This function releases a previously claimed stream. It will take into |
101 | account associated VBI streams. */ | 102 | account associated VBI streams. */ |
102 | static void cx18_release_stream(struct cx18_stream *s) | 103 | void cx18_release_stream(struct cx18_stream *s) |
103 | { | 104 | { |
104 | struct cx18 *cx = s->cx; | 105 | struct cx18 *cx = s->cx; |
105 | struct cx18_stream *s_assoc; | 106 | struct cx18_stream *s_assoc; |
@@ -154,6 +155,7 @@ static void cx18_release_stream(struct cx18_stream *s) | |||
154 | } | 155 | } |
155 | } | 156 | } |
156 | } | 157 | } |
158 | EXPORT_SYMBOL(cx18_release_stream); | ||
157 | 159 | ||
158 | static void cx18_dualwatch(struct cx18 *cx) | 160 | static void cx18_dualwatch(struct cx18 *cx) |
159 | { | 161 | { |