diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-31 05:11:45 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-20 18:45:27 -0400 |
commit | 349a2444cfcd6c078a8410c19cd7a950ff89bd96 (patch) | |
tree | 5738b6702b719ab36b4c99b986b05dd689c1c4e9 | |
parent | 5dc0742b41066e1e141f2b4b00557e563a83fccc (diff) |
[BLACKFIN] minor irq handler cleanups
- use standard irq_handler_t to define irq handler function arguments
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | arch/blackfin/kernel/time.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index 9bdc8f99183a..715b3945e4c7 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
@@ -39,8 +39,7 @@ | |||
39 | /* This is an NTP setting */ | 39 | /* This is an NTP setting */ |
40 | #define TICK_SIZE (tick_nsec / 1000) | 40 | #define TICK_SIZE (tick_nsec / 1000) |
41 | 41 | ||
42 | static void time_sched_init(irqreturn_t(*timer_routine) | 42 | static void time_sched_init(irq_handler_t timer_routine); |
43 | (int, void *)); | ||
44 | static unsigned long gettimeoffset(void); | 43 | static unsigned long gettimeoffset(void); |
45 | 44 | ||
46 | static struct irqaction bfin_timer_irq = { | 45 | static struct irqaction bfin_timer_irq = { |
@@ -64,7 +63,7 @@ static struct irqaction bfin_timer_irq = { | |||
64 | #define TIME_SCALE 1 | 63 | #define TIME_SCALE 1 |
65 | 64 | ||
66 | static void | 65 | static void |
67 | time_sched_init(irqreturn_t(*timer_routine) (int, void *)) | 66 | time_sched_init(irq_handler_t timer_routine) |
68 | { | 67 | { |
69 | u32 tcount; | 68 | u32 tcount; |
70 | 69 | ||