aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-05-05 11:50:40 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-05-16 14:49:39 -0400
commitc6a3ead2ab5d82b549237c52a785b9f736e13463 (patch)
tree37f5c16418ec4f306f8d558a721d3840c1e183ca /drivers/input/tablet
parente34b9d2f46590e3be64466b4095118283745d050 (diff)
downloadkernel_samsung_crespo-c6a3ead2ab5d82b549237c52a785b9f736e13463.zip
kernel_samsung_crespo-c6a3ead2ab5d82b549237c52a785b9f736e13463.tar.gz
kernel_samsung_crespo-c6a3ead2ab5d82b549237c52a785b9f736e13463.tar.bz2
Input: wacom - make one-bit signed bitfields unsigned
Otherwise it can only take the values 0/-1 which doesn't seem to have been intended. drivers/input/tablet/wacom.h:108:12: error: dubious one-bit signed bitfield Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r--drivers/input/tablet/wacom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom.h b/drivers/input/tablet/wacom.h
index 706619d..ca62ec6 100644
--- a/drivers/input/tablet/wacom.h
+++ b/drivers/input/tablet/wacom.h
@@ -105,7 +105,7 @@ struct wacom {
struct urb *irq;
struct wacom_wac * wacom_wac;
struct mutex lock;
- int open:1;
+ unsigned int open:1;
char phys[32];
};