mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (12943): SAA7164: Add a warning about addr usage
SAA7164: Remove meaningless if'0 code Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
90e801acb2
commit
1f8c40b441
|
@ -530,6 +530,7 @@ int saa7164_dvb_register(struct saa7164_tsport *port)
|
|||
&i2c_bus->i2c_adap);
|
||||
|
||||
if (port->dvb.frontend != NULL) {
|
||||
/* TODO: addr is in the card struct */
|
||||
dvb_attach(tda18271_attach, port->dvb.frontend,
|
||||
0xc0 >> 1, &i2c_bus->i2c_adap,
|
||||
&hauppauge_hvr22x0_tuner_config);
|
||||
|
@ -544,6 +545,7 @@ int saa7164_dvb_register(struct saa7164_tsport *port)
|
|||
&i2c_bus->i2c_adap);
|
||||
|
||||
if (port->dvb.frontend != NULL) {
|
||||
/* TODO: addr is in the card struct */
|
||||
dvb_attach(tda18271_attach, port->dvb.frontend,
|
||||
0xc0 >> 1, &i2c_bus->i2c_adap,
|
||||
&hauppauge_hvr22x0_tuner_config);
|
||||
|
|
Loading…
Reference in New Issue