diff options
Diffstat (limited to 'drivers/edac/cpc925_edac.c')
-rw-r--r-- | drivers/edac/cpc925_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/cpc925_edac.c b/drivers/edac/cpc925_edac.c index 2d94fa91c746..e22030a9de66 100644 --- a/drivers/edac/cpc925_edac.c +++ b/drivers/edac/cpc925_edac.c | |||
@@ -982,7 +982,7 @@ static int __devinit cpc925_probe(struct platform_device *pdev) | |||
982 | layers[1].type = EDAC_MC_LAYER_CHANNEL; | 982 | layers[1].type = EDAC_MC_LAYER_CHANNEL; |
983 | layers[1].size = nr_channels; | 983 | layers[1].size = nr_channels; |
984 | layers[1].is_virt_csrow = false; | 984 | layers[1].is_virt_csrow = false; |
985 | mci = new_edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), layers, | 985 | mci = edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), layers, |
986 | sizeof(struct cpc925_mc_pdata)); | 986 | sizeof(struct cpc925_mc_pdata)); |
987 | if (!mci) { | 987 | if (!mci) { |
988 | cpc925_printk(KERN_ERR, "No memory for mem_ctl_info\n"); | 988 | cpc925_printk(KERN_ERR, "No memory for mem_ctl_info\n"); |