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

staging: comedi: drivers: daqboard2000: make bool bit-field unsigned int bit-fields.

Checkpatch complains on bool bitfields to be an int or u8/u16/u32
bitfield.

Make bool bit-fields to be unsigned int bit-fields.
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 904f9d4d
...@@ -240,7 +240,7 @@ enum db2k_boardid { ...@@ -240,7 +240,7 @@ enum db2k_boardid {
struct db2k_boardtype { struct db2k_boardtype {
const char *name; const char *name;
bool has_2_ao:1; /* false: 4 AO chans; true: 2 AO chans */ unsigned int has_2_ao:1;/* false: 4 AO chans; true: 2 AO chans */
}; };
static const struct db2k_boardtype db2k_boardtypes[] = { static const struct db2k_boardtype db2k_boardtypes[] = {
......
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