]> Pileus Git - ~andy/linux/blobdiff - drivers/edac/mpc85xx_edac.c
Merge branch 'devel'
[~andy/linux] / drivers / edac / mpc85xx_edac.c
index 117cf00bd7436c24ce22a67aede1802615a659e2..a1e791ec25d38514b7c47ae27bd2cab0198ded68 100644 (file)
@@ -992,7 +992,8 @@ static int __devinit mpc85xx_mc_err_probe(struct platform_device *op)
        layers[1].type = EDAC_MC_LAYER_CHANNEL;
        layers[1].size = 1;
        layers[1].is_virt_csrow = false;
-       mci = edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), sizeof(*pdata));
+       mci = edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), layers,
+                           sizeof(*pdata));
        if (!mci) {
                devres_release_group(&op->dev, mpc85xx_mc_err_probe);
                return -ENOMEM;