Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Greg Ungerer and committed by
Linus Torvalds
b032fde9 1ba73b99

+2 -1
+2 -1
arch/m68knommu/platform/68360/config.c
··· 16 16 #include <linux/mm.h> 17 17 #include <linux/tty.h> 18 18 #include <linux/console.h> 19 + #include <linux/interrupt.h> 19 20 20 21 #include <asm/setup.h> 21 22 #include <asm/system.h> ··· 51 50 52 51 extern void config_M68360_irq(void); 53 52 54 - void BSP_sched_init(void (*timer_routine)(int, void *, struct pt_regs *)) 53 + void BSP_sched_init(irq_handler_t timer_routine) 55 54 { 56 55 unsigned char prescaler; 57 56 unsigned short tgcr_save;