]> git.hungrycats.org Git - linux/commitdiff
[PATCH] irqreturn_t fixes for m68knommu irq.h
authorGreg Ungerer <gerg@snapgear.com>
Mon, 1 Sep 2003 10:38:09 +0000 (03:38 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 1 Sep 2003 10:38:09 +0000 (03:38 -0700)
include/asm-m68knommu/irq.h

index 02345b308049f272c88ae79e0dd98a7caa7c4241..c463354e6d3d813ace516eca39c3f42d4a2a8689 100644 (file)
@@ -2,6 +2,7 @@
 #define _M68K_IRQ_H_
 
 #include <linux/config.h>
+#include <linux/interrupt.h>
 #include <asm/ptrace.h>
 
 #ifdef CONFIG_COLDFIRE
@@ -62,7 +63,7 @@ extern void (*mach_enable_irq)(unsigned int);
 extern void (*mach_disable_irq)(unsigned int);
 
 extern int sys_request_irq(unsigned int, 
-       void (*)(int, void *, struct pt_regs *), 
+       irqreturn_t (*)(int, void *, struct pt_regs *), 
        unsigned long, const char *, void *);
 extern void sys_free_irq(unsigned int, void *);
 
@@ -91,7 +92,7 @@ extern void sys_free_irq(unsigned int, void *);
  * interrupt source (if it supports chaining).
  */
 typedef struct irq_node {
-       void            (*handler)(int, void *, struct pt_regs *);
+       irqreturn_t     (*handler)(int, void *, struct pt_regs *);
        unsigned long   flags;
        void            *dev_id;
        const char      *devname;
@@ -102,7 +103,7 @@ typedef struct irq_node {
  * This structure has only 4 elements for speed reasons
  */
 typedef struct irq_handler {
-       void            (*handler)(int, void *, struct pt_regs *);
+       irqreturn_t     (*handler)(int, void *, struct pt_regs *);
        unsigned long   flags;
        void            *dev_id;
        const char      *devname;