i2c-keywest.c irq handler type

i2c-keywest.c irq handler type

Post by Paul Mackerra » Mon, 28 Apr 2003 15:00:20



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

 #ifndef POLLED_MODE

 /* Interrupt handler */
-static void
+static irqreturn_t
 keywest_irq(int irq, void *dev_id, struct pt_regs *regs)
 {

                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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

i2c-keywest.c irq handler type

Post by Greg K » Wed, 30 Apr 2003 19:20:19



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

Applied to my trees.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/