summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2009-08-29 14:22:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 00:15:12 -0300
commit1f8c40b44161d64fd127aa93e717576ae0d6e9d2 (patch)
tree272c9cef63ff446605bc968b3ce76978dcb3a651 /drivers
parent90e801acb2134d905d98152a919128b9f56bbd33 (diff)
downloadlinux-stable-1f8c40b44161d64fd127aa93e717576ae0d6e9d2.tar.gz
linux-stable-1f8c40b44161d64fd127aa93e717576ae0d6e9d2.tar.bz2
linux-stable-1f8c40b44161d64fd127aa93e717576ae0d6e9d2.zip
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')
-rw-r--r--drivers/media/video/saa7164/saa7164-dvb.c2
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)
&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);