summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/tda10071.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2012-12-17 02:37:11 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-21 20:36:54 +0400
commit41f55d57552b7d2236f94fccb5cdd07dbf2e8557 (patch)
tree20dcabeb29e427d87a1446dbf9d940d9a13ddec6 /drivers/media/dvb-frontends/tda10071.h
parentbb9e31f3928dd9b1ecb66689890d1f5f3d19227c (diff)
downloadlinux-41f55d57552b7d2236f94fccb5cdd07dbf2e8557.tar.xz
[media] tda10071: make sure both tuner and demod i2c addresses are specified
display an error message if either tuner_i2c_addr or demod_i2c_addr are not specified in the tda10071_config structure Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/tda10071.h')
-rw-r--r--drivers/media/dvb-frontends/tda10071.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/tda10071.h b/drivers/media/dvb-frontends/tda10071.h
index a20d5c41e048..bff1c38df802 100644
--- a/drivers/media/dvb-frontends/tda10071.h
+++ b/drivers/media/dvb-frontends/tda10071.h
@@ -28,10 +28,10 @@ struct tda10071_config {
* Default: none, must set
* Values: 0x55,
*/
- u8 i2c_address;
+ u8 demod_i2c_addr;
/* Tuner I2C address.
- * Default: 0x14
+ * Default: none, must set
* Values: 0x14, 0x54, ...
*/
u8 tuner_i2c_addr;