summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-07-21 10:08:40 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-07-21 10:08:40 +0200
commitae5e172ee1e2d100bee6607ab66f318a62a2ebe3 (patch)
tree58fcb52794bf204291d0bb8fd0b7a823b30004e0 /include
parent926493b33a0836931ee454cba0761f021d078078 (diff)
The forthcoming 2.6.36 kernel does not define the MT_SLOT_ABS_EVENTS
list, so make sure it is always defined in mtdev.h Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
-rw-r--r--include/mtdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mtdev.h b/include/mtdev.h
index 5a3f968..84625a5 100644
--- a/include/mtdev.h
+++ b/include/mtdev.h
@@ -57,6 +57,8 @@
57/* includes available in 2.6.36 */ 57/* includes available in 2.6.36 */
58#ifndef ABS_MT_SLOT 58#ifndef ABS_MT_SLOT
59#define ABS_MT_SLOT 0x2f /* MT slot being modified */ 59#define ABS_MT_SLOT 0x2f /* MT slot being modified */
60#endif
61#ifndef MT_SLOT_ABS_EVENTS
60#define MT_SLOT_ABS_EVENTS { \ 62#define MT_SLOT_ABS_EVENTS { \
61 ABS_MT_TOUCH_MAJOR, \ 63 ABS_MT_TOUCH_MAJOR, \
62 ABS_MT_TOUCH_MINOR, \ 64 ABS_MT_TOUCH_MINOR, \