Skip to content

Commit

Permalink
m68k/irq: Rename setup_irq() to m68k_setup_irq() and make it static
Browse files Browse the repository at this point in the history
It has nothing to do with the standard one in <linux/irq.h>

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Geert Uytterhoeven committed Nov 8, 2011
1 parent e8abf5e commit 13d6da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/m68k/kernel/ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct irq_data *new_irq_node(void)
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_data **prev;
Expand Down Expand Up @@ -232,7 +232,7 @@ int request_irq(unsigned int irq,
node->dev_id = dev_id;
node->devname = devname;

res = setup_irq(irq, node);
res = m68k_setup_irq(irq, node);
if (res)
node->handler = NULL;

Expand Down

0 comments on commit 13d6da3

Please sign in to comment.