Commit 00b29854 authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

staging: comedi: comedi_8254.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: default avatarIan Abbott <abbotti@mev.co.uk>
Reviewed-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cf978113
...@@ -100,34 +100,36 @@ struct comedi_8254 { ...@@ -100,34 +100,36 @@ struct comedi_8254 {
unsigned int gate_src[3]; unsigned int gate_src[3];
bool busy[3]; bool busy[3];
int (*insn_config)(struct comedi_device *, struct comedi_subdevice *s, int (*insn_config)(struct comedi_device *dev,
struct comedi_insn *, unsigned int *data); struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data);
}; };
unsigned int comedi_8254_status(struct comedi_8254 *, unsigned int counter); unsigned int comedi_8254_status(struct comedi_8254 *i8254,
unsigned int comedi_8254_read(struct comedi_8254 *, unsigned int counter); unsigned int counter);
void comedi_8254_write(struct comedi_8254 *, unsigned int comedi_8254_read(struct comedi_8254 *i8254, unsigned int counter);
void comedi_8254_write(struct comedi_8254 *i8254,
unsigned int counter, unsigned int val); unsigned int counter, unsigned int val);
int comedi_8254_set_mode(struct comedi_8254 *, int comedi_8254_set_mode(struct comedi_8254 *i8254,
unsigned int counter, unsigned int mode); unsigned int counter, unsigned int mode);
int comedi_8254_load(struct comedi_8254 *, int comedi_8254_load(struct comedi_8254 *i8254,
unsigned int counter, unsigned int val, unsigned int mode); unsigned int counter, unsigned int val, unsigned int mode);
void comedi_8254_pacer_enable(struct comedi_8254 *, void comedi_8254_pacer_enable(struct comedi_8254 *i8254,
unsigned int counter1, unsigned int counter2, unsigned int counter1, unsigned int counter2,
bool enable); bool enable);
void comedi_8254_update_divisors(struct comedi_8254 *); void comedi_8254_update_divisors(struct comedi_8254 *i8254);
void comedi_8254_cascade_ns_to_timer(struct comedi_8254 *, void comedi_8254_cascade_ns_to_timer(struct comedi_8254 *i8254,
unsigned int *nanosec, unsigned int flags); unsigned int *nanosec, unsigned int flags);
void comedi_8254_ns_to_timer(struct comedi_8254 *, void comedi_8254_ns_to_timer(struct comedi_8254 *i8254,
unsigned int *nanosec, unsigned int flags); unsigned int *nanosec, unsigned int flags);
void comedi_8254_set_busy(struct comedi_8254 *, void comedi_8254_set_busy(struct comedi_8254 *i8254,
unsigned int counter, bool busy); unsigned int counter, bool busy);
void comedi_8254_subdevice_init(struct comedi_subdevice *, void comedi_8254_subdevice_init(struct comedi_subdevice *s,
struct comedi_8254 *); struct comedi_8254 *i8254);
struct comedi_8254 *comedi_8254_init(unsigned long iobase, struct comedi_8254 *comedi_8254_init(unsigned long iobase,
unsigned int osc_base, unsigned int osc_base,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment