diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-31 05:08:48 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-20 18:43:05 -0400 |
commit | 5dc0742b41066e1e141f2b4b00557e563a83fccc (patch) | |
tree | 2e727ef5dba11bca025c08431cf6e8c7b9230cbc /arch/sparc/kernel/time.c | |
parent | 90968eb5a415a0fe6ffb617af35b3a5321bd4497 (diff) |
[SPARC] minor irq handler cleanups
- mark timer_interrupt() static
- sparc_floppy_request_irq() prototype should use irq_handler_t
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/time.c')
-rw-r--r-- | arch/sparc/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index cfaf22c05bc4..53caacbb3982 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c | |||
@@ -105,7 +105,7 @@ __volatile__ unsigned int *master_l10_limit; | |||
105 | 105 | ||
106 | #define TICK_SIZE (tick_nsec / 1000) | 106 | #define TICK_SIZE (tick_nsec / 1000) |
107 | 107 | ||
108 | irqreturn_t timer_interrupt(int irq, void *dev_id) | 108 | static irqreturn_t timer_interrupt(int dummy, void *dev_id) |
109 | { | 109 | { |
110 | /* last time the cmos clock got updated */ | 110 | /* last time the cmos clock got updated */ |
111 | static long last_rtc_update; | 111 | static long last_rtc_update; |