From: Greg Ungerer Date: Wed, 7 Mar 2007 01:28:13 +0000 (+1000) Subject: [PATCH] m68knommu: use irq_handler_t for passing handler types in 68360 setup X-Git-Tag: v2.6.21-rc3~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b032fde9097605f9f1099eeca28f3b5b09e55ec0;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Linus Torvalds --- diff --git a/arch/m68knommu/platform/68360/config.c b/arch/m68knommu/platform/68360/config.c index 1b36f626176..4ff13bd51ff 100644 --- a/arch/m68knommu/platform/68360/config.c +++ b/arch/m68knommu/platform/68360/config.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -50,7 +51,7 @@ extern unsigned long int system_clock; //In kernel setup.c extern void config_M68360_irq(void); -void BSP_sched_init(void (*timer_routine)(int, void *, struct pt_regs *)) +void BSP_sched_init(irq_handler_t timer_routine) { unsigned char prescaler; unsigned short tgcr_save;