mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] make 1-bit bitfields unsigned
Keeps sparse happy. Signed-of-by: Mariusz Kozlowski <[email protected]> Cc: Russell King <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Acked-by: Karsten Keil <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c67220480e
commit
940cc2df93
3 changed files with 6 additions and 6 deletions
|
|
@ -41,10 +41,10 @@ struct isdnhdlc_vars {
|
|||
unsigned char shift_reg;
|
||||
unsigned char ffvalue;
|
||||
|
||||
int data_received:1; // set if transferring data
|
||||
int dchannel:1; // set if D channel (send idle instead of flags)
|
||||
int do_adapt56:1; // set if 56K adaptation
|
||||
int do_closing:1; // set if in closing phase (need to send CRC + flag
|
||||
unsigned int data_received:1; // set if transferring data
|
||||
unsigned int dchannel:1; // set if D channel (send idle instead of flags)
|
||||
unsigned int do_adapt56:1; // set if 56K adaptation
|
||||
unsigned int do_closing:1; // set if in closing phase (need to send CRC + flag
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue