Re: [PATCH] i2c driver changes for 2.5.69

Greg KH (greg@kroah.com)
Tue, 6 May 2003 17:33:35 -0700


ChangeSet 1.1042.48.3, 2003/04/29 10:12:19-07:00, paulus@samba.org

[PATCH] i2c: i2c-keywest.c irq handler type

This patch changes the interrupt handler routine in i2c-keywest.c to
return an irqreturn_t.

drivers/i2c/i2c-keywest.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)

diff -Nru a/drivers/i2c/i2c-keywest.c b/drivers/i2c/i2c-keywest.c
--- a/drivers/i2c/i2c-keywest.c Tue May 6 17:24:55 2003
+++ b/drivers/i2c/i2c-keywest.c Tue May 6 17:24:55 2003
@@ -212,7 +212,7 @@
#ifndef POLLED_MODE

/* Interrupt handler */
-static void
+static irqreturn_t
keywest_irq(int irq, void *dev_id, struct pt_regs *regs)
{
struct keywest_iface *iface = (struct keywest_iface *)dev_id;
@@ -225,6 +225,7 @@
add_timer(&iface->timeout_timer);
}
spin_unlock(&iface->lock);
+ return IRQ_HANDLED;
}

static void

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