Messages in this thread Patch in this message | | | From | Paul Mackerras <> | Date | Sun, 27 Apr 2003 22:50:33 +1000 (EST) | Subject | [PATCH] i2c-keywest.c irq handler type |
| |
This patch changes the interrupt handler routine in i2c-keywest.c to return an irqreturn_t.
Paul.
diff -urN linux-2.5/drivers/i2c/i2c-keywest.c pmac-2.5/drivers/i2c/i2c-keywest.c --- linux-2.5/drivers/i2c/i2c-keywest.c 2003-04-03 07:22:49.000000000 +1000 +++ pmac-2.5/drivers/i2c/i2c-keywest.c 2003-04-23 21:32:32.000000000 +1000 @@ -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/
| |