diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-09-24 10:24:37 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-24 10:24:37 +0100 |
commit | 6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9 (patch) | |
tree | c678c9ace865ad4d4ebd4a6cb7daceb9cb0556e2 /drivers/mfd/ucb1x00-ts.c | |
parent | 87e807b6c461bbd449496a4c3ab78ab164a4ba97 (diff) | |
download | kernel-crypto-6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9.tar.gz kernel-crypto-6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9.tar.xz kernel-crypto-6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9.zip |
[MFD] Fix "bious one-bit signed bitfield" errors
ucb1x00-ts declared a couple of one-bit 'int' bitfields.
Make them unsigned.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mfd/ucb1x00-ts.c')
-rw-r--r-- | drivers/mfd/ucb1x00-ts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/ucb1x00-ts.c b/drivers/mfd/ucb1x00-ts.c index a851d65c7cf..a260f83bcb0 100644 --- 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; |