diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-04-17 23:59:23 +0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-09 01:35:47 +0400 |
commit | 6549d537922da6a6893e9bc1be9c2b89db663719 (patch) | |
tree | 1e34fac1634b45a1a7543f6f9246544eef54dc1b /arch/m68k/include/asm/irq.h | |
parent | 0dde595be678c06e7de27c98f45403088f1b126a (diff) | |
download | linux-6549d537922da6a6893e9bc1be9c2b89db663719.tar.xz |
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.h | 9 |
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, |