projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8356dda
)
rtc-v3020: make bitfield unsigned
author
Bill Pemberton
<wfp5p@virginia.edu>
Fri, 30 Apr 2010 13:34:38 +0000
(09:34 -0400)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 11 May 2010 08:09:47 +0000
(10:09 +0200)
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>
include/linux/rtc-v3020.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/rtc-v3020.h
b/include/linux/rtc-v3020.h
index 8ba646e610d9232ce6b9b1a0bff42844a866b456..e55d82cebf80978ea6fc4b8a1b4528046ae88c3d 100644
(file)
--- 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;