diff options
Diffstat (limited to 'drivers/media/pci/ivtv/ivtv-fileops.c')
-rw-r--r-- | drivers/media/pci/ivtv/ivtv-fileops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/pci/ivtv/ivtv-fileops.c b/drivers/media/pci/ivtv/ivtv-fileops.c index 88bce907cdef..7f2eb5f62fd1 100644 --- a/drivers/media/pci/ivtv/ivtv-fileops.c +++ b/drivers/media/pci/ivtv/ivtv-fileops.c | |||
@@ -41,7 +41,7 @@ | |||
41 | associated VBI streams are also automatically claimed. | 41 | associated VBI streams are also automatically claimed. |
42 | Possible error returns: -EBUSY if someone else has claimed | 42 | Possible error returns: -EBUSY if someone else has claimed |
43 | the stream or 0 on success. */ | 43 | the stream or 0 on success. */ |
44 | static int ivtv_claim_stream(struct ivtv_open_id *id, int type) | 44 | int ivtv_claim_stream(struct ivtv_open_id *id, int type) |
45 | { | 45 | { |
46 | struct ivtv *itv = id->itv; | 46 | struct ivtv *itv = id->itv; |
47 | struct ivtv_stream *s = &itv->streams[type]; | 47 | struct ivtv_stream *s = &itv->streams[type]; |
@@ -96,6 +96,7 @@ static int ivtv_claim_stream(struct ivtv_open_id *id, int type) | |||
96 | set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); | 96 | set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); |
97 | return 0; | 97 | return 0; |
98 | } | 98 | } |
99 | EXPORT_SYMBOL(ivtv_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. */ |
@@ -146,6 +147,7 @@ void ivtv_release_stream(struct ivtv_stream *s) | |||
146 | clear_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags); | 147 | clear_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags); |
147 | ivtv_flush_queues(s_vbi); | 148 | ivtv_flush_queues(s_vbi); |
148 | } | 149 | } |
150 | EXPORT_SYMBOL(ivtv_release_stream); | ||
149 | 151 | ||
150 | static void ivtv_dualwatch(struct ivtv *itv) | 152 | static void ivtv_dualwatch(struct ivtv *itv) |
151 | { | 153 | { |