From dccdc464407835845dffcfbf9b5154b974e52bc6 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 17 Jun 2010 13:17:27 +0200 Subject: 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 --- include/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ /* includes available in 2.6.36 */ #ifndef ABS_MT_SLOT #define ABS_MT_SLOT 0x2f /* MT slot being modified */ -#define MT_ABS_SIZE 11 /* Size of MT_SLOT_ABS_EVENTS */ #define MT_SLOT_ABS_EVENTS { \ ABS_MT_TOUCH_MAJOR, \ ABS_MT_TOUCH_MINOR, \ @@ -72,6 +71,8 @@ } #endif +#define MT_ABS_SIZE 11 /* Size of MT_SLOT_ABS_EVENTS */ + #define DIM_FINGER 32 #define DIM2_FINGER (DIM_FINGER * DIM_FINGER) -- cgit v1.2.3