Commit eb975652 authored by Josh Boyer's avatar Josh Boyer

powerpc/44x: Fix build error on currituck platform

The MPIC_PRIMARY define was recently made "default" and the meaning was
inverted to MPIC_SECONDARY.  This causes compile errors in currituck now, so
fix it to the new manner of allocating mpics.
Signed-off-by: default avatarJosh Boyer <jwboyer@gmail.com>
parent c55aef0e
...@@ -83,7 +83,7 @@ static void __init ppc47x_init_irq(void) ...@@ -83,7 +83,7 @@ static void __init ppc47x_init_irq(void)
* device-tree, just pass 0 to all arguments * device-tree, just pass 0 to all arguments
*/ */
struct mpic *mpic = struct mpic *mpic =
mpic_alloc(np, 0, MPIC_PRIMARY, 0, 0, " MPIC "); mpic_alloc(np, 0, 0, 0, 0, " MPIC ");
BUG_ON(mpic == NULL); BUG_ON(mpic == NULL);
mpic_init(mpic); mpic_init(mpic);
ppc_md.get_irq = mpic_get_irq; ppc_md.get_irq = mpic_get_irq;
......
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