diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-04-30 17:34:38 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-05-11 12:09:47 +0400 |
commit | 758ef749f3b1a4c5e6ba5b5bca5eae968a2c0c5f (patch) | |
tree | 32bece7cd5242de1cd329f98787e46278c8e2f42 /include/linux/rtc-v3020.h | |
parent | 8356dda2a573775b651ed13625d3a9ec48e0116c (diff) | |
download | linux-758ef749f3b1a4c5e6ba5b5bca5eae968a2c0c5f.tar.xz |
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>
Diffstat (limited to 'include/linux/rtc-v3020.h')
-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 @@ 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; |