summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-04-22 19:45:37 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 19:07:47 +0200
commit7fb20fa38caaf5c9d1b1d60b181c99ca30122520 (patch)
tree9b342c2709fef6671c1e5f8b66fbf18230848647 /drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
parentV4L/DVB (7298): pvrusb2: Account for dtv choice (a bit) in v4l2 implementation (diff)
downloadlinux-7fb20fa38caaf5c9d1b1d60b181c99ca30122520.tar.xz
linux-7fb20fa38caaf5c9d1b1d60b181c99ca30122520.zip
V4L/DVB (7299): pvrusb2: Improve logic which handles input choice availability
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-hdw-internal.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index d7a216b41b72..aa374c7e08fd 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -323,6 +323,9 @@ struct pvr2_hdw {
int v4l_minor_number_vbi;
int v4l_minor_number_radio;
+ /* Bit mask of PVR2_CVAL_INPUT choices which are valid */
+ unsigned int input_avail_mask;
+
/* Location of eeprom or a negative number if none */
int eeprom_addr;