]> err.no Git - linux-2.6/commitdiff
V4L/DVB (7097): saa7134-dvb: add missing dvb_attach call (for tda10046_attach)
authorMatthias Schwarzott <zzam@gentoo.org>
Mon, 28 Jan 2008 15:01:11 +0000 (12:01 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 14:15:00 +0000 (11:15 -0300)
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>
drivers/media/video/saa7134/saa7134-dvb.c

index 90f495a678040819e9d0fc42e5f0140f1b745f35..e58f437ea9f71cc4870e997cf137c82a879e4afd 100644 (file)
@@ -1022,8 +1022,9 @@ static int dvb_init(struct saa7134_dev *dev)
                }
                break;
        case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
-               dev->dvb.frontend = tda10046_attach(&medion_cardbus,
-                                                   &dev->i2c_adap);
+               dev->dvb.frontend = dvb_attach(tda10046_attach,
+                                              &medion_cardbus,
+                                              &dev->i2c_adap);
                if (dev->dvb.frontend) {
                        dev->original_demod_sleep = dev->dvb.frontend->ops.sleep;
                        dev->dvb.frontend->ops.sleep = philips_europa_demod_sleep;