V4L/DVB (5652): Dibusb-mb: use dvb_attach for dib3000mb_attach
authorMichael Krufky <mkrufky@linuxtv.org>
Wed, 9 May 2007 17:52:52 +0000 (14:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:23:26 +0000 (14:23 -0300)
convert calls to dib3000mb_attach to use dvb_attach

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/dibusb-mb.c

index 6de459550dbf9e180d33b2002d9bd90f39447002..a171900634e03de7630cac96107b258be179c0fa 100644 (file)
@@ -21,7 +21,8 @@ static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_adapter *adap)
 
        demod_cfg.demod_address = 0x8;
 
-       if ((adap->fe = dib3000mb_attach(&demod_cfg,&adap->dev->i2c_adap,&st->ops)) == NULL)
+       if ((adap->fe = dvb_attach(dib3000mb_attach, &demod_cfg,
+                                  &adap->dev->i2c_adap, &st->ops)) == NULL)
                return -ENODEV;
 
        adap->tuner_pass_ctrl = st->ops.tuner_pass_ctrl;