summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/tda10071.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2012-12-16 23:37:11 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-21 17:36:54 +0100
commit41f55d57552b7d2236f94fccb5cdd07dbf2e8557 (patch)
tree20dcabeb29e427d87a1446dbf9d940d9a13ddec6 /drivers/media/dvb-frontends/tda10071.h
parent[media] or51211: apply pr_fmt and use pr_* macros instead of printk (diff)
downloadlinux-41f55d57552b7d2236f94fccb5cdd07dbf2e8557.tar.xz
linux-41f55d57552b7d2236f94fccb5cdd07dbf2e8557.zip
[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;