rtc-v3020: make bitfield unsigned
Fix sparse warning: include/linux/rtc-v3020.h:18:23: error: dubious one-bit signed bitfield Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> CC: p_gortmaker@yahoo.com Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
8356dda2a5
commit
758ef749f3
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
struct v3020_platform_data {
|
||||
int leftshift; /* (1<<(leftshift)) & readl() */
|
||||
|
||||
int use_gpio:1;
|
||||
unsigned int use_gpio:1;
|
||||
unsigned int gpio_cs;
|
||||
unsigned int gpio_wr;
|
||||
unsigned int gpio_rd;
|
||||
|
|
Loading…
Reference in a new issue