1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

missing parts of previous patch

This commit is contained in:
Ralph Metzler 2018-05-25 00:11:03 +02:00
parent 875a768266
commit 1b89edb4b1
2 changed files with 2 additions and 2 deletions

View File

@ -471,7 +471,7 @@ int ddb_fe_attach_mci(struct ddb_input *input, u32 type)
default: default:
return -EINVAL; return -EINVAL;
} }
dvb->fe = ddb_mci_attach(input, &cfg, demod); dvb->fe = ddb_mci_attach(input, &cfg, demod, tuner);
if (!dvb->fe) { if (!dvb->fe) {
dev_err(dev->dev, "No MCI card found!\n"); dev_err(dev->dev, "No MCI card found!\n");
return -ENODEV; return -ENODEV;

View File

@ -576,6 +576,6 @@ struct mci_cfg {
int (*base_init)(struct mci_base *mci_base); int (*base_init)(struct mci_base *mci_base);
}; };
struct dvb_frontend *ddb_mci_attach(struct ddb_input *input, struct mci_cfg *cfg, int nr); struct dvb_frontend *ddb_mci_attach(struct ddb_input *input, struct mci_cfg *cfg, int nr, int tuner);
#endif #endif