projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e807b
)
[MFD] Fix "bious one-bit signed bitfield" errors
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sat, 24 Sep 2005 09:24:37 +0000
(10:24 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 24 Sep 2005 09:24:37 +0000
(10:24 +0100)
ucb1x00-ts declared a couple of one-bit 'int' bitfields.
Make them unsigned.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mfd/ucb1x00-ts.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/ucb1x00-ts.c
b/drivers/mfd/ucb1x00-ts.c
index a851d65c7cfef72b4d8cccfa9253c4d552ce6318..a260f83bcb021080f00f45c459435224cda8a5b2 100644
(file)
--- a/
drivers/mfd/ucb1x00-ts.c
+++ b/
drivers/mfd/ucb1x00-ts.c
@@
-48,8
+48,8
@@
struct ucb1x00_ts {
u16 x_res;
u16 y_res;
-
int
restart:1;
-
int
adcsync:1;
+
unsigned int
restart:1;
+
unsigned int
adcsync:1;
};
static int adcsync;