diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2012-12-16 19:37:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-21 14:36:54 -0200 |
commit | 41f55d57552b7d2236f94fccb5cdd07dbf2e8557 (patch) | |
tree | 20dcabeb29e427d87a1446dbf9d940d9a13ddec6 /drivers/media/dvb-frontends/tda10071.h | |
parent | bb9e31f3928dd9b1ecb66689890d1f5f3d19227c (diff) | |
download | blackbird-op-linux-41f55d57552b7d2236f94fccb5cdd07dbf2e8557.tar.gz blackbird-op-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.h | 4 |
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; |