]> err.no Git - linux-2.6/commitdiff
[PATCH] m68knommu: use irq_handler_t passing handler to PIT init
authorGreg Ungerer <gerg@snapgear.com>
Wed, 7 Feb 2007 02:02:52 +0000 (12:02 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 18:45:33 +0000 (10:45 -0800)
Use irq_handler_t type for passing timer handler to timer init code.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68knommu/platform/5307/pit.c

index 9dc5688f71b54040ce80daf6ea95357773b874bd..aa15beeb36ca8b7676a49894860f66baee32c7e1 100644 (file)
@@ -43,7 +43,7 @@ void coldfire_pit_tick(void)
 
 /***************************************************************************/
 
-void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *))
+void coldfire_pit_init(irq_handler_t handler)
 {
        volatile unsigned char *icrp;
        volatile unsigned long *imrp;