Commit 758ef749 authored by Bill Pemberton's avatar Bill Pemberton Committed by Jiri Kosina

rtc-v3020: make bitfield unsigned

Fix sparse warning:

include/linux/rtc-v3020.h:18:23: error: dubious one-bit signed bitfield
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
CC: p_gortmaker@yahoo.com
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 8356dda2
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
struct v3020_platform_data { struct v3020_platform_data {
int leftshift; /* (1<<(leftshift)) & readl() */ int leftshift; /* (1<<(leftshift)) & readl() */
int use_gpio:1; unsigned int use_gpio:1;
unsigned int gpio_cs; unsigned int gpio_cs;
unsigned int gpio_wr; unsigned int gpio_wr;
unsigned int gpio_rd; unsigned int gpio_rd;
......
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