aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal.c')
-rw-r--r--arch/powerpc/platforms/powernv/opal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c
index 106301fd2fa5..7c253469f23b 100644
--- a/arch/powerpc/platforms/powernv/opal.c
+++ b/arch/powerpc/platforms/powernv/opal.c
@@ -422,7 +422,7 @@ void opal_shutdown(void)
422 422
423 for (i = 0; i < opal_irq_count; i++) { 423 for (i = 0; i < opal_irq_count; i++) {
424 if (opal_irqs[i]) 424 if (opal_irqs[i])
425 free_irq(opal_irqs[i], 0); 425 free_irq(opal_irqs[i], NULL);
426 opal_irqs[i] = 0; 426 opal_irqs[i] = 0;
427 } 427 }
428} 428}