[BLACKFIN] minor irq handler cleanups
authorJeff Garzik <jeff@garzik.org>
Wed, 31 Oct 2007 09:11:45 +0000 (05:11 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 20 Apr 2008 22:45:27 +0000 (18:45 -0400)
- use standard irq_handler_t to define irq handler function arguments

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
arch/blackfin/kernel/time.c

index 9bdc8f99183a5e66a215ffeec71440fbe48b7bf6..715b3945e4c7119b4af88c4f986b38cf91d63700 100644 (file)
@@ -39,8 +39,7 @@
 /* This is an NTP setting */
 #define        TICK_SIZE (tick_nsec / 1000)
 
-static void time_sched_init(irqreturn_t(*timer_routine)
-                       (int, void *));
+static void time_sched_init(irq_handler_t timer_routine);
 static unsigned long gettimeoffset(void);
 
 static struct irqaction bfin_timer_irq = {
@@ -64,7 +63,7 @@ static struct irqaction bfin_timer_irq = {
 #define TIME_SCALE 1
 
 static void
-time_sched_init(irqreturn_t(*timer_routine) (int, void *))
+time_sched_init(irq_handler_t timer_routine)
 {
        u32 tcount;