summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-01-05 15:08:05 -0500
committerSteven Toth <stoth@hauppauge.com>2008-01-05 15:08:05 -0500
commit88ad51b6cd401849a446a4d1bcba232055a6923f (patch)
treedb5a5b62dc5bbe4d4ff452790dbfc074b7cf497f /linux/drivers/media/video/cx88/cx88-dvb.c
parent5240604a62cc6c8206ed6bf09646c574bdf9b54c (diff)
downloadmediapointer-dvb-s2-88ad51b6cd401849a446a4d1bcba232055a6923f.tar.gz
mediapointer-dvb-s2-88ad51b6cd401849a446a4d1bcba232055a6923f.tar.bz2
xc5000: Small amount of cleanup and commenting.
From: Steven Toth <stoth@hauppauge.com> xc5000: Small amount of cleanup and commenting, just for clarification. Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-dvb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c
index f11865ec3..480ad4eac 100644
--- a/linux/drivers/media/video/cx88/cx88-dvb.c
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c
@@ -386,7 +386,6 @@ static struct s5h1409_config pinnacle_pctv_hd_800i_config = {
static struct xc5000_config pinnacle_pctv_hd_800i_tuner_config = {
.i2c_address = 0x64,
.if_khz = 5380,
- /* cannot set .video_dev here, do it right before attach */
.tuner_callback = cx88_tuner_callback,
};
@@ -655,7 +654,7 @@ static int dvb_register(struct cx8802_dev *dev)
/* tuner_config.video_dev must point to
* i2c_adap.algo_data
*/
- pinnacle_pctv_hd_800i_tuner_config.video_dev =
+ pinnacle_pctv_hd_800i_tuner_config.priv =
dev->core->i2c_adap.algo_data;
dvb_attach(xc5000_attach, dev->dvb.frontend,
&dev->core->i2c_adap,