Re: [PATCH] i2c driver changes for 2.5.69

From: Greg KH (greg@kroah.com)
Date: Tue May 06 2003 - 19:33:35 EST


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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:29 EST