summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/irq.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-04-17 21:59:23 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-11-08 22:35:47 +0100
commit6549d537922da6a6893e9bc1be9c2b89db663719 (patch)
tree1e34fac1634b45a1a7543f6f9246544eef54dc1b /arch/m68k/include/asm/irq.h
parentm68k/irq: Kill irq_node_t typedef, always use struct irq_node (diff)
downloadlinux-6549d537922da6a6893e9bc1be9c2b89db663719.tar.xz
linux-6549d537922da6a6893e9bc1be9c2b89db663719.zip
m68k/irq: Rename irq_node to irq_data
Make it more similar to the genirq version: - Add an irq field Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/m68k/include/asm/irq.h')
-rw-r--r--arch/m68k/include/asm/irq.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/irq.h b/arch/m68k/include/asm/irq.h
index bfc521f35bdf..3cb037c36d10 100644
--- a/arch/m68k/include/asm/irq.h
+++ b/arch/m68k/include/asm/irq.h
@@ -75,10 +75,11 @@ struct pt_regs;
* This structure is used to chain together the ISRs for a particular
* interrupt source (if it supports chaining).
*/
-struct irq_node {
+struct irq_data {
+ unsigned int irq;
irqreturn_t (*handler)(int, void *);
void *dev_id;
- struct irq_node *next;
+ struct irq_data *next;
unsigned long flags;
const char *devname;
};
@@ -105,9 +106,9 @@ extern unsigned int m68k_irq_startup(unsigned int);
extern void m68k_irq_shutdown(unsigned int);
/*
- * This function returns a new struct irq_node
+ * This function returns a new struct irq_data
*/
-extern struct irq_node *new_irq_node(void);
+extern struct irq_data *new_irq_node(void);
extern void m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_regs *));
extern void m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt,