diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-04-30 09:34:38 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-05-11 04:09:47 -0400 |
commit | 758ef749f3b1a4c5e6ba5b5bca5eae968a2c0c5f (patch) | |
tree | 32bece7cd5242de1cd329f98787e46278c8e2f42 | |
parent | 8356dda2a573775b651ed13625d3a9ec48e0116c (diff) |
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>
-rw-r--r-- | include/linux/rtc-v3020.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rtc-v3020.h b/include/linux/rtc-v3020.h index 8ba646e610d9..e55d82cebf80 100644 --- a/include/linux/rtc-v3020.h +++ b/include/linux/rtc-v3020.h | |||
@@ -15,7 +15,7 @@ | |||
15 | struct v3020_platform_data { | 15 | struct v3020_platform_data { |
16 | int leftshift; /* (1<<(leftshift)) & readl() */ | 16 | int leftshift; /* (1<<(leftshift)) & readl() */ |
17 | 17 | ||
18 | int use_gpio:1; | 18 | unsigned int use_gpio:1; |
19 | unsigned int gpio_cs; | 19 | unsigned int gpio_cs; |
20 | unsigned int gpio_wr; | 20 | unsigned int gpio_wr; |
21 | unsigned int gpio_rd; | 21 | unsigned int gpio_rd; |