[PATCH 4/5] typesafe: request_irq and devm_request_irq

2008-02-04 Thread Rusty Russell
This patch lets interrupt handler functions have their natural type (ie. exactly match the data pointer type); it allows the old irq_handler_t type as well. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> --- include/linux/interrupt.h | 17 +++-- kernel/irq/devres.c | 10

[PATCH 4/5] typesafe: request_irq and devm_request_irq

2008-02-04 Thread Rusty Russell
This patch lets interrupt handler functions have their natural type (ie. exactly match the data pointer type); it allows the old irq_handler_t type as well. Signed-off-by: Rusty Russell [EMAIL PROTECTED] --- include/linux/interrupt.h | 17 +++-- kernel/irq/devres.c | 10