remove extra parameter fro DVB-T frontend

This commit is contained in:
Ralph Metzler 2018-01-01 21:00:11 +01:00
parent 23826d9981
commit c5b45cdbac
2 changed files with 2 additions and 5 deletions

View File

@ -1172,9 +1172,7 @@ static int demod_attach_stv0367dd(struct ddb_input *input)
cfg.adr = 0x1f - (input->nr & 1);
if (input->port->dev->link[input->port->lnr].info->con_clock)
cfg.cont_clock = 1;
dvb->fe = dvb_attach(stv0367_attach, i2c,
&cfg,
&dvb->fe2);
dvb->fe = dvb_attach(stv0367_attach, i2c, &cfg);
if (!dvb->fe) {
dev_err(input->port->dev->dev,
"No stv0367 found!\n");

View File

@ -2128,8 +2128,7 @@ static void init_state(struct stv_state *state, struct stv0367_cfg *cfg)
}
struct dvb_frontend *stv0367_attach(struct i2c_adapter *i2c, struct stv0367_cfg *cfg,
struct dvb_frontend **fe_t)
struct dvb_frontend *stv0367_attach(struct i2c_adapter *i2c, struct stv0367_cfg *cfg)
{
struct stv_state *state = NULL;