Commit fbe1be81 authored by Giulio Benetti's avatar Giulio Benetti Committed by Greg Kroah-Hartman

staging: comedi: drivers: ni_mio_common: add names to function pointer parameters.

Checkpatch.pl complains about packbits function pointer that lacks
parameters name.

Add parameter names to packbits function pointer.
Signed-off-by: default avatarGiulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d83301c8
...@@ -4294,7 +4294,7 @@ static int pack_ad8842(int addr, int val, int *bitstring) ...@@ -4294,7 +4294,7 @@ static int pack_ad8842(int addr, int val, int *bitstring)
struct caldac_struct { struct caldac_struct {
int n_chans; int n_chans;
int n_bits; int n_bits;
int (*packbits)(int, int, int *); int (*packbits)(int address, int value, int *bitstring);
}; };
static struct caldac_struct caldacs[] = { static struct caldac_struct caldacs[] = {
......
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