media: ddbridge/mci: add identifiers to function definition arguments

Fixes two checkpatch warnings

  WARNING: function definition argument 'xxx' should also have an identifier name

in the ddb_mci_attach() prototype definition. checkpatch keeps complaining
on the "int (**fn_set_input)" as it seems to have issues with the
ptr-to-ptr, though this probably needs fixing in checkpatch.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Daniel Scheller 2018-05-09 16:08:01 -04:00 committed by Mauro Carvalho Chehab
parent 525cac7574
commit caf2827cfe
2 changed files with 2 additions and 2 deletions

View File

@ -500,7 +500,7 @@ static int probe(struct mci *state)
struct dvb_frontend struct dvb_frontend
*ddb_mci_attach(struct ddb_input *input, *ddb_mci_attach(struct ddb_input *input,
int mci_type, int nr, int mci_type, int nr,
int (**fn_set_input)(struct dvb_frontend *, int)) int (**fn_set_input)(struct dvb_frontend *fe, int input))
{ {
struct ddb_port *port = input->port; struct ddb_port *port = input->port;
struct ddb *dev = port->dev; struct ddb *dev = port->dev;

View File

@ -151,6 +151,6 @@ struct mci_result {
struct dvb_frontend struct dvb_frontend
*ddb_mci_attach(struct ddb_input *input, *ddb_mci_attach(struct ddb_input *input,
int mci_type, int nr, int mci_type, int nr,
int (**fn_set_input)(struct dvb_frontend *, int)); int (**fn_set_input)(struct dvb_frontend *fe, int input));
#endif /* _DDBRIDGE_MCI_H_ */ #endif /* _DDBRIDGE_MCI_H_ */