forked from Minki/linux
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: Giulio Benetti <giulio.benetti@micronovasrl.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d83301c850
commit
fbe1be81b2
@ -4294,7 +4294,7 @@ static int pack_ad8842(int addr, int val, int *bitstring)
|
||||
struct caldac_struct {
|
||||
int n_chans;
|
||||
int n_bits;
|
||||
int (*packbits)(int, int, int *);
|
||||
int (*packbits)(int address, int value, int *bitstring);
|
||||
};
|
||||
|
||||
static struct caldac_struct caldacs[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user