From 16080331392cb0e72f09c551c20fc07879dd5f5a Mon Sep 17 00:00:00 2001 From: Richard Lemon Date: Fri, 20 Jun 2008 17:46:57 +1000 Subject: [PATCH] Fixes for kernel version 2.6.25 --- inexio.c | 4 ++-- serio-ids.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inexio.c b/inexio.c index bac5912..192ade0 100644 --- a/inexio.c +++ b/inexio.c @@ -138,8 +138,8 @@ static int inexio_connect(struct serio *serio, struct serio_driver *drv) input_dev->id.product = 0; input_dev->id.version = 0x0001; input_dev->dev.parent = &serio->dev; - input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); - input_dev->keybit[LONG(BTN_TOUCH)] = BIT(BTN_TOUCH); + input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); + input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); input_set_abs_params(pinexio->dev, ABS_X, INEXIO_MIN_XC, INEXIO_MAX_XC, 0, 0); input_set_abs_params(pinexio->dev, ABS_Y, INEXIO_MIN_YC, INEXIO_MAX_YC, 0, 0); diff --git a/serio-ids.h b/serio-ids.h index afe9a3f..44a8f0f 100644 --- a/serio-ids.h +++ b/serio-ids.h @@ -108,7 +108,7 @@ # define SERIO_FUJITSU 0x34 #endif #ifndef SERIO_INEXIO -# define SERIO_INEXIO 0x35 +# define SERIO_INEXIO 0x36 #endif #endif -- 2.11.4.GIT