Message ID | 20130808003255.GA3901@home.buserror.net (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c index fd6458b..77efbae 100644 --- a/arch/powerpc/sysdev/fsl_msi.c +++ b/arch/powerpc/sysdev/fsl_msi.c @@ -481,8 +481,8 @@ static int fsl_of_msi_probe(struct platform_device *dev) goto error_out; } } else { - const u32 all_avail[] = { 0, - NR_MSI_REG_MSIIR * IRQS_PER_MSI_REG}; + static const u32 all_avail[] = + { 0, NR_MSI_REG_MSIIR * IRQS_PER_MSI_REG }; msi->srs_shift = MSIIR_SRS_SHIFT; msi->ibs_shift = MSIIR_IBS_SHIFT;