mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
remove extra parameter fro DVB-T frontend
This commit is contained in:
parent
23826d9981
commit
c5b45cdbac
@ -1172,9 +1172,7 @@ static int demod_attach_stv0367dd(struct ddb_input *input)
|
|||||||
cfg.adr = 0x1f - (input->nr & 1);
|
cfg.adr = 0x1f - (input->nr & 1);
|
||||||
if (input->port->dev->link[input->port->lnr].info->con_clock)
|
if (input->port->dev->link[input->port->lnr].info->con_clock)
|
||||||
cfg.cont_clock = 1;
|
cfg.cont_clock = 1;
|
||||||
dvb->fe = dvb_attach(stv0367_attach, i2c,
|
dvb->fe = dvb_attach(stv0367_attach, i2c, &cfg);
|
||||||
&cfg,
|
|
||||||
&dvb->fe2);
|
|
||||||
if (!dvb->fe) {
|
if (!dvb->fe) {
|
||||||
dev_err(input->port->dev->dev,
|
dev_err(input->port->dev->dev,
|
||||||
"No stv0367 found!\n");
|
"No stv0367 found!\n");
|
||||||
|
@ -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 *stv0367_attach(struct i2c_adapter *i2c, struct stv0367_cfg *cfg)
|
||||||
struct dvb_frontend **fe_t)
|
|
||||||
{
|
{
|
||||||
struct stv_state *state = NULL;
|
struct stv_state *state = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user