aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-01-28 10:01:11 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 09:15:00 -0500
commit0e8f4cc5c8bb782edbaee54a760ebc034252fab0 (patch)
tree2363232583123fd4ab856b3cc29b576ce536899a /drivers/media/video/saa7134/saa7134-dvb.c
parente08a8c9dc7d247ec2a98ea2d7ac5ecea6af5593c (diff)
V4L/DVB (7097): saa7134-dvb: add missing dvb_attach call (for tda10046_attach)
saa7134-dvb: add missing dvb_attach around tda10046_attach This patch adds a possibly missing dvb_attach for tda10046_attach. This removes the hard dependency of saa7134-dvb on tda1004x module. Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index 90f495a67804..e58f437ea9f7 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -1022,8 +1022,9 @@ static int dvb_init(struct saa7134_dev *dev)
1022 } 1022 }
1023 break; 1023 break;
1024 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID: 1024 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
1025 dev->dvb.frontend = tda10046_attach(&medion_cardbus, 1025 dev->dvb.frontend = dvb_attach(tda10046_attach,
1026 &dev->i2c_adap); 1026 &medion_cardbus,
1027 &dev->i2c_adap);
1027 if (dev->dvb.frontend) { 1028 if (dev->dvb.frontend) {
1028 dev->original_demod_sleep = dev->dvb.frontend->ops.sleep; 1029 dev->original_demod_sleep = dev->dvb.frontend->ops.sleep;
1029 dev->dvb.frontend->ops.sleep = philips_europa_demod_sleep; 1030 dev->dvb.frontend->ops.sleep = philips_europa_demod_sleep;