Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79d3a8be authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (5652): Dibusb-mb: use dvb_attach for dib3000mb_attach



convert calls to dib3000mb_attach to use dvb_attach

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent fbfee868
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;