staging: comedi: ni_labpc.h: add identifiers to function parameters

Fix checkpatch.pl warnings of the form "function definition argument
'foo' should also have an identifier name".

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ian Abbott 2016-12-15 13:19:44 +00:00 committed by Greg Kroah-Hartman
parent 22d3c2ca82
commit 13938181e2

View File

@ -52,8 +52,8 @@ struct labpc_private {
* function pointers so we can use inb/outb or readb/writeb as
* appropriate
*/
unsigned int (*read_byte)(struct comedi_device *, unsigned long reg);
void (*write_byte)(struct comedi_device *,
unsigned int (*read_byte)(struct comedi_device *dev, unsigned long reg);
void (*write_byte)(struct comedi_device *dev,
unsigned int byte, unsigned long reg);
};