diff options
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_pic.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pic.c b/arch/powerpc/platforms/52xx/mpc52xx_pic.c index b69221ba07fd..2898b737deb7 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pic.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_pic.c | |||
@@ -340,7 +340,7 @@ static int mpc52xx_irqhost_map(struct irq_domain *h, unsigned int virq, | |||
340 | { | 340 | { |
341 | int l1irq; | 341 | int l1irq; |
342 | int l2irq; | 342 | int l2irq; |
343 | struct irq_chip *irqchip; | 343 | struct irq_chip *uninitialized_var(irqchip); |
344 | void *hndlr; | 344 | void *hndlr; |
345 | int type; | 345 | int type; |
346 | u32 reg; | 346 | u32 reg; |
@@ -373,9 +373,8 @@ static int mpc52xx_irqhost_map(struct irq_domain *h, unsigned int virq, | |||
373 | case MPC52xx_IRQ_L1_PERP: irqchip = &mpc52xx_periph_irqchip; break; | 373 | case MPC52xx_IRQ_L1_PERP: irqchip = &mpc52xx_periph_irqchip; break; |
374 | case MPC52xx_IRQ_L1_SDMA: irqchip = &mpc52xx_sdma_irqchip; break; | 374 | case MPC52xx_IRQ_L1_SDMA: irqchip = &mpc52xx_sdma_irqchip; break; |
375 | case MPC52xx_IRQ_L1_CRIT: | 375 | case MPC52xx_IRQ_L1_CRIT: |
376 | default: | ||
377 | pr_warn("%s: Critical IRQ #%d is unsupported! Nopping it.\n", | 376 | pr_warn("%s: Critical IRQ #%d is unsupported! Nopping it.\n", |
378 | __func__, l1irq); | 377 | __func__, l2irq); |
379 | irq_set_chip(virq, &no_irq_chip); | 378 | irq_set_chip(virq, &no_irq_chip); |
380 | return 0; | 379 | return 0; |
381 | } | 380 | } |