diff options
author | Steven Toth <stoth@kernellabs.com> | 2009-08-29 13:22:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:15:12 -0400 |
commit | 1f8c40b44161d64fd127aa93e717576ae0d6e9d2 (patch) | |
tree | 272c9cef63ff446605bc968b3ce76978dcb3a651 /drivers/media/video/saa7164 | |
parent | 90e801acb2134d905d98152a919128b9f56bbd33 (diff) |
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>
Diffstat (limited to 'drivers/media/video/saa7164')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-dvb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/saa7164/saa7164-dvb.c b/drivers/media/video/saa7164/saa7164-dvb.c index 238efc9149b9..0e28b9668562 100644 --- a/drivers/media/video/saa7164/saa7164-dvb.c +++ b/drivers/media/video/saa7164/saa7164-dvb.c | |||
@@ -530,6 +530,7 @@ int saa7164_dvb_register(struct saa7164_tsport *port) | |||
530 | &i2c_bus->i2c_adap); | 530 | &i2c_bus->i2c_adap); |
531 | 531 | ||
532 | if (port->dvb.frontend != NULL) { | 532 | if (port->dvb.frontend != NULL) { |
533 | /* TODO: addr is in the card struct */ | ||
533 | dvb_attach(tda18271_attach, port->dvb.frontend, | 534 | dvb_attach(tda18271_attach, port->dvb.frontend, |
534 | 0xc0 >> 1, &i2c_bus->i2c_adap, | 535 | 0xc0 >> 1, &i2c_bus->i2c_adap, |
535 | &hauppauge_hvr22x0_tuner_config); | 536 | &hauppauge_hvr22x0_tuner_config); |
@@ -544,6 +545,7 @@ int saa7164_dvb_register(struct saa7164_tsport *port) | |||
544 | &i2c_bus->i2c_adap); | 545 | &i2c_bus->i2c_adap); |
545 | 546 | ||
546 | if (port->dvb.frontend != NULL) { | 547 | if (port->dvb.frontend != NULL) { |
548 | /* TODO: addr is in the card struct */ | ||
547 | dvb_attach(tda18271_attach, port->dvb.frontend, | 549 | dvb_attach(tda18271_attach, port->dvb.frontend, |
548 | 0xc0 >> 1, &i2c_bus->i2c_adap, | 550 | 0xc0 >> 1, &i2c_bus->i2c_adap, |
549 | &hauppauge_hvr22x0_tuner_config); | 551 | &hauppauge_hvr22x0_tuner_config); |