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: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
e8abf5e73c
commit
13d6da3581
|
@ -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,
|
||||||
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue