===================================================================
ChangeSet _at_ 1.1580, 2004-01-04 23:57:27-05:00, dtor_core _at_ ameritech.net
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 _at_ vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: [PATCH 2/3] Convert mouse drivers to use module_paramDmitry Torokhov
- New set of input patchesDmitry Torokhov
- Re: New set of input patchesDmitry Torokhov
- Prev by Date: Re: udev and devfs - The final word
- Next by Date: Re: [PATCH 3/3] Convert tsdev to use module_param
- Previous by thread: Re: New set of input patches
- Next by thread: Re: [PATCH 2/3] Convert mouse drivers to use module_param
- Indexes:[Main][Thread]