mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
staging: comedi: comedidev: 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
b3c1622701
commit
fd02c95fab
1 changed files with 2 additions and 2 deletions
|
@ -542,8 +542,8 @@ struct comedi_device {
|
|||
|
||||
const char *board_name;
|
||||
const void *board_ptr;
|
||||
bool attached:1;
|
||||
bool ioenabled:1;
|
||||
unsigned int attached:1;
|
||||
unsigned int ioenabled:1;
|
||||
spinlock_t spinlock; /* generic spin-lock for low-level driver */
|
||||
struct mutex mutex; /* generic mutex for COMEDI core */
|
||||
struct rw_semaphore attach_lock;
|
||||
|
|
Loading…
Reference in a new issue