From: Chris Bagwell <ch...@cnpbagwell.com> Reported in bug tracker #3463769.
Based on mini code review, I think this is only missing symbol and 2.6.36/37 contain ABS_MT_FIRST and input_mt_slot which this function depends on. I'm unable to test this fix but its a copy&paste of function from mt.h in later kernels. --- 2.6.36/wacom.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/2.6.36/wacom.h b/2.6.36/wacom.h index 3117877..569ad9c 100644 --- a/2.6.36/wacom.h +++ b/2.6.36/wacom.h @@ -94,6 +94,12 @@ # endif #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37) #include <linux/input/mt.h> +#else +static inline int input_mt_get_value(const struct input_mt_slot *slot, + unsigned code) +{ + return slot->abs[code - ABS_MT_FIRST]; +} #endif #include <asm/unaligned.h> -- 1.7.7.4 ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel