]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] m68knommu: use irq_handler_t for passing handler types in 68360 setup
authorGreg Ungerer <gerg@snapgear.com>
Wed, 7 Mar 2007 01:28:13 +0000 (11:28 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 7 Mar 2007 02:08:38 +0000 (18:08 -0800)
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>
arch/m68knommu/platform/68360/config.c

index 1b36f62617645358a2c8b0aadd20d7c77bbc1f6c..4ff13bd51ffd0e536e06e3f176ad9a18b5c7d2e4 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/mm.h>
 #include <linux/tty.h>
 #include <linux/console.h>
+#include <linux/interrupt.h>
 
 #include <asm/setup.h>
 #include <asm/system.h>
@@ -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;