summaryrefslogtreecommitdiff
path: root/drivers/media/video/saa7134/saa7134.h
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2006-10-30 19:56:59 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-10 08:51:10 -0200
commita75ec3f033625fb02ccc855fcd2e322275633fc4 (patch)
tree487ca55f0b1dc959fb3eba57fd96d1270463ac2f /drivers/media/video/saa7134/saa7134.h
parent19be685a4a5475ecdbbbb579458eeda890d27a96 (diff)
downloadlwn-a75ec3f033625fb02ccc855fcd2e322275633fc4.tar.gz
lwn-a75ec3f033625fb02ccc855fcd2e322275633fc4.zip
V4L/DVB (4791): Added autodetected flag to the saa7134_dev structure
In case the exact board type needs to be determined by probing or evaluating the eeprom, this flag allows to still set the board type via the card=xx insmod option. This is an extract of a patch by Francis Barber. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r--drivers/media/video/saa7134/saa7134.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index 799a7149ff66..40603f392145 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -448,6 +448,9 @@ struct saa7134_dev {
struct v4l2_prio_state prio;
#endif
+ /* insmod option/autodetected */
+ int autodetected;
+
/* various device info */
unsigned int resources;
struct video_device *video_dev;