diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-03-06 20:28:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-06 21:08:38 -0500 |
commit | b032fde9097605f9f1099eeca28f3b5b09e55ec0 (patch) | |
tree | b5bfa5fadb9e7205a7f346689af83e2bbf603b6b /arch | |
parent | 1ba73b99c34c31ea18b44dcf161c6e1f2838e0fa (diff) |
[PATCH] m68knommu: use irq_handler_t for passing handler types in 68360 setup
Use irq_handler_t type for passing around timer interrupt routine.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68knommu/platform/68360/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/68360/config.c b/arch/m68knommu/platform/68360/config.c index 1b36f6261764..4ff13bd51ffd 100644 --- a/arch/m68knommu/platform/68360/config.c +++ b/arch/m68knommu/platform/68360/config.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/mm.h> | 16 | #include <linux/mm.h> |
17 | #include <linux/tty.h> | 17 | #include <linux/tty.h> |
18 | #include <linux/console.h> | 18 | #include <linux/console.h> |
19 | #include <linux/interrupt.h> | ||
19 | 20 | ||
20 | #include <asm/setup.h> | 21 | #include <asm/setup.h> |
21 | #include <asm/system.h> | 22 | #include <asm/system.h> |
@@ -50,7 +51,7 @@ extern unsigned long int system_clock; //In kernel setup.c | |||
50 | 51 | ||
51 | extern void config_M68360_irq(void); | 52 | extern void config_M68360_irq(void); |
52 | 53 | ||
53 | void BSP_sched_init(void (*timer_routine)(int, void *, struct pt_regs *)) | 54 | void BSP_sched_init(irq_handler_t timer_routine) |
54 | { | 55 | { |
55 | unsigned char prescaler; | 56 | unsigned char prescaler; |
56 | unsigned short tgcr_save; | 57 | unsigned short tgcr_save; |