summaryrefslogtreecommitdiff
path: root/drivers/media/video/pvrusb2/pvrusb2-io.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-07-18 22:42:18 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-29 17:22:24 -0300
commite61b6fc58b4a0b07f1ccfc67bf2b84a2848fcb2c (patch)
treee090be244c9a917ce8b698d426708d0dac1db049 /drivers/media/video/pvrusb2/pvrusb2-io.h
parent32e4c3a5622e832938aa0272e21a292564ff090a (diff)
V4L/DVB (4337): Refine dead code elimination in pvrusb2
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-io.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-io.h b/drivers/media/video/pvrusb2/pvrusb2-io.h
index 96285ad234a6..93279cc2a35e 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-io.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-io.h
@@ -47,6 +47,7 @@ void pvr2_stream_set_callback(struct pvr2_stream *,
void *data);
/* Query / set the nominal buffer count */
+int pvr2_stream_get_buffer_count(struct pvr2_stream *);
int pvr2_stream_set_buffer_count(struct pvr2_stream *,unsigned int);
/* Get a pointer to a buffer that is either idle, ready, or is specified
@@ -58,6 +59,7 @@ struct pvr2_buffer *pvr2_stream_get_buffer(struct pvr2_stream *sp,int id);
/* Find out how many buffers are idle or ready */
int pvr2_stream_get_ready_count(struct pvr2_stream *);
+
/* Kill all pending buffers and throw away any ready buffers as well */
void pvr2_stream_kill(struct pvr2_stream *);