Commit 13d6da35 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k/irq: Rename setup_irq() to m68k_setup_irq() and make it static

It has nothing to do with the standard one in <linux/irq.h>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent e8abf5e7
...@@ -176,7 +176,7 @@ struct irq_data *new_irq_node(void) ...@@ -176,7 +176,7 @@ struct irq_data *new_irq_node(void)
return NULL; return NULL;
} }
int setup_irq(unsigned int irq, struct irq_data *node) static int m68k_setup_irq(unsigned int irq, struct irq_data *node)
{ {
struct irq_chip *contr; struct irq_chip *contr;
struct irq_data **prev; struct irq_data **prev;
...@@ -232,7 +232,7 @@ int request_irq(unsigned int irq, ...@@ -232,7 +232,7 @@ int request_irq(unsigned int irq,
node->dev_id = dev_id; node->dev_id = dev_id;
node->devname = devname; node->devname = devname;
res = setup_irq(irq, node); res = m68k_setup_irq(irq, node);
if (res) if (res)
node->handler = NULL; node->handler = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment