Commit 665e407e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

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

From: Dmitry Torokhov <dtor_core@ameritech.net>

Fix 98busmouse compile error - have interrupt routine return IRQ_HANDLED
parent 0fe28f54
...@@ -74,7 +74,7 @@ MODULE_PARM(pc98bm_irq, "i"); ...@@ -74,7 +74,7 @@ MODULE_PARM(pc98bm_irq, "i");
static int pc98bm_irq = PC98BM_IRQ; static int pc98bm_irq = PC98BM_IRQ;
static int pc98bm_used = 0; 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) static int pc98bm_open(struct input_dev *dev)
{ {
...@@ -113,7 +113,7 @@ static struct input_dev pc98bm_dev = { ...@@ -113,7 +113,7 @@ static struct input_dev pc98bm_dev = {
}, },
}; };
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; char dx, dy;
unsigned char buttons; unsigned char buttons;
...@@ -137,6 +137,8 @@ static void pc98bm_interrupt(int irq, void *dev_id, struct pt_regs *regs) ...@@ -137,6 +137,8 @@ static void pc98bm_interrupt(int irq, void *dev_id, struct pt_regs *regs)
input_sync(&pc98bm_dev); input_sync(&pc98bm_dev);
outb(PC98BM_ENABLE_IRQ, PC98BM_CONTROL_PORT); outb(PC98BM_ENABLE_IRQ, PC98BM_CONTROL_PORT);
return IRQ_HANDLED;
} }
#ifndef MODULE #ifndef MODULE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment