diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-06-17 13:17:27 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-17 13:19:08 +0200 |
| commit | dccdc464407835845dffcfbf9b5154b974e52bc6 (patch) | |
| tree | b0747cb9202f67879fedea72539e78ecdd08d6bc /include | |
| parent | 90c1b691f74995b284c2d7c79c762a85a0ed1c15 (diff) | |
Make MT_ABS_SIZE available for all kernel versions
The code erroneously had MT_ABS_SIZE defined only for kernels
before 2.6.36. Fixed with this patch.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
| -rw-r--r-- | include/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index de79332..e13088f 100644 --- a/include/common.h +++ b/include/common.h | |||
| @@ -56,7 +56,6 @@ | |||
| 56 | /* includes available in 2.6.36 */ | 56 | /* includes available in 2.6.36 */ |
| 57 | #ifndef ABS_MT_SLOT | 57 | #ifndef ABS_MT_SLOT |
| 58 | #define ABS_MT_SLOT 0x2f /* MT slot being modified */ | 58 | #define ABS_MT_SLOT 0x2f /* MT slot being modified */ |
| 59 | #define MT_ABS_SIZE 11 /* Size of MT_SLOT_ABS_EVENTS */ | ||
| 60 | #define MT_SLOT_ABS_EVENTS { \ | 59 | #define MT_SLOT_ABS_EVENTS { \ |
| 61 | ABS_MT_TOUCH_MAJOR, \ | 60 | ABS_MT_TOUCH_MAJOR, \ |
| 62 | ABS_MT_TOUCH_MINOR, \ | 61 | ABS_MT_TOUCH_MINOR, \ |
| @@ -72,6 +71,8 @@ | |||
| 72 | } | 71 | } |
| 73 | #endif | 72 | #endif |
| 74 | 73 | ||
| 74 | #define MT_ABS_SIZE 11 /* Size of MT_SLOT_ABS_EVENTS */ | ||
| 75 | |||
| 75 | #define DIM_FINGER 32 | 76 | #define DIM_FINGER 32 |
| 76 | #define DIM2_FINGER (DIM_FINGER * DIM_FINGER) | 77 | #define DIM2_FINGER (DIM_FINGER * DIM_FINGER) |
| 77 | 78 | ||
