summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-02-03 15:11:16 -0600
committerMike Isely <isely@pobox.com>2008-02-03 15:11:16 -0600
commitc05edb1ac975819b5f776a98d730923cff549df9 (patch)
treeb5c8899d18bef29a07e25c4b9f4babdde1423b22 /linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
parent412c4adac120772260ac6e4698b5deae93c83d49 (diff)
downloadmediapointer-dvb-s2-c05edb1ac975819b5f776a98d730923cff549df9.tar.gz
mediapointer-dvb-s2-c05edb1ac975819b5f776a98d730923cff549df9.tar.bz2
pvrusb2: Improve logic which handles input choice availability
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
index 26dcf39a8..17349a54d 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
@@ -153,6 +153,10 @@ struct pvr2_ctrl *pvr2_hdw_get_ctrl_nextv4l(struct pvr2_hdw *,
/* Commit all control changes made up to this point */
int pvr2_hdw_commit_ctl(struct pvr2_hdw *);
+/* Return a bit mask of valid input selections for this device. Mask bits
+ * will be according to PVR_CVAL_INPUT_xxxx definitions. */
+unsigned int pvr2_hdw_get_input_available(struct pvr2_hdw *);
+
/* Return name for this driver instance */
const char *pvr2_hdw_get_driver_name(struct pvr2_hdw *);