[PATCH 1/3] Fix compile error in 98busmouse.c module

From: Dmitry Torokhov
Date: Mon Jan 05 2004 - 01:07:26 EST


===================================================================


ChangeSet@xxxxxx, 2004-01-04 23:57:27-05:00, dtor_core@xxxxxxxxxxxxx
Input: Fix 98busmouse compile error -
have interrupt routine return IRQ_HANDLED


98busmouse.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)


===================================================================



diff -Nru a/drivers/input/mouse/98busmouse.c b/drivers/input/mouse/98busmouse.c
--- a/drivers/input/mouse/98busmouse.c Mon Jan 5 00:45:57 2004
+++ b/drivers/input/mouse/98busmouse.c Mon Jan 5 00:45:57 2004
@@ -74,7 +74,7 @@
static int pc98bm_irq = PC98BM_IRQ;
static int pc98bm_used = 0;

-static void pc98bm_interrupt(int irq, void *dev_id, struct pt_regs *regs);
+static irqreturn_t pc98bm_interrupt(int irq, void *dev_id, struct pt_regs *regs);

static int pc98bm_open(struct input_dev *dev)
{
@@ -113,7 +113,7 @@
},
};

-static void pc98bm_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t pc98bm_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
char dx, dy;
unsigned char buttons;
@@ -137,6 +137,8 @@
input_sync(&pc98bm_dev);

outb(PC98BM_ENABLE_IRQ, PC98BM_CONTROL_PORT);
+
+ return IRQ_HANDLED;
}

#ifndef MODULE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/