mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-12 23:54:19 +08:00
staging: comedi: drivers: amplc_dio200_common: 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: 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
46fb63b3a1
commit
3164da7b9c
@ -96,7 +96,7 @@ struct dio200_subdev_intr {
|
||||
unsigned int ofs;
|
||||
unsigned int valid_isns;
|
||||
unsigned int enabled_isns;
|
||||
bool active:1;
|
||||
unsigned int active:1;
|
||||
};
|
||||
|
||||
static unsigned char dio200_read8(struct comedi_device *dev,
|
||||
|
Loading…
Reference in New Issue
Block a user