aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/machdep.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-11-20 15:46:22 +1000
committerLinus Torvalds <torvalds@woody.osdl.org>2006-11-20 10:16:49 -0800
commitace5f1d425beaa272b6e91cecc87b2c075d7feb2 (patch)
tree9445f6ba8d8be95e999fdd2496027cee48713b72 /include/asm-m68knommu/machdep.h
parent[PATCH] fix build error for HISAX_NETJET (diff)
downloadlinux-dev-ace5f1d425beaa272b6e91cecc87b2c075d7feb2.tar.xz
linux-dev-ace5f1d425beaa272b6e91cecc87b2c075d7feb2.zip
[PATCH] m68knommu: fix up for the irq_handler_t changes
Switch to using irq_handler_t for interrupt function handler pointers. Change name of m68knommu's irq_hanlder_t data structure so it doesn't clash with the common type (include/linux/interrupt.h). Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--include/asm-m68knommu/machdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/machdep.h b/include/asm-m68knommu/machdep.h
index 27c90afd3339..6ce28f8e0ead 100644
--- a/include/asm-m68knommu/machdep.h
+++ b/include/asm-m68knommu/machdep.h
@@ -18,7 +18,7 @@ extern int (*mach_kbdrate) (struct kbd_repeat *);
extern void (*mach_kbd_leds) (unsigned int);
/* machine dependent irq functions */
extern void (*mach_init_IRQ) (void);
-extern irqreturn_t (*(*mach_default_handler)[]) (int, void *, struct pt_regs *);
+extern irq_handler_t mach_default_handler;
extern int (*mach_request_irq) (unsigned int irq, void (*handler)(int, void *, struct pt_regs *),
unsigned long flags, const char *devname, void *dev_id);
extern void (*mach_free_irq) (unsigned int irq, void *dev_id);