aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-01-05 15:08:05 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:05:07 -0500
commit73c993a8294077ae1b724286da8ac323c25d90db (patch)
tree47a44433e6c1c2e3d4ba4fd5d557adb321a094e1 /drivers/media/video/tuner-core.c
parent8c70017f5793e68ea48085a65008d713c9a85dde (diff)
V4L/DVB (7045): xc5000: Small amount of cleanup and commenting
xc5000: Small amount of cleanup and commenting, just for clarification. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 16cdeeafeb6c..8e406b168d71 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -434,7 +434,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
434 case TUNER_XC5000: 434 case TUNER_XC5000:
435 xc5000_cfg.i2c_address = t->i2c->addr; 435 xc5000_cfg.i2c_address = t->i2c->addr;
436 xc5000_cfg.if_khz = 5380; 436 xc5000_cfg.if_khz = 5380;
437 xc5000_cfg.video_dev = c->adapter->algo_data; 437 xc5000_cfg.priv = c->adapter->algo_data;
438 xc5000_cfg.tuner_callback = t->tuner_callback; 438 xc5000_cfg.tuner_callback = t->tuner_callback;
439 if (!xc5000_attach(&t->fe, t->i2c->adapter, &xc5000_cfg)) { 439 if (!xc5000_attach(&t->fe, t->i2c->adapter, &xc5000_cfg)) {
440 t->type = TUNER_ABSENT; 440 t->type = TUNER_ABSENT;