aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/i3200_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/i3200_edac.c')
-rw-r--r--drivers/edac/i3200_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/i3200_edac.c b/drivers/edac/i3200_edac.c
index d152662ffc66..bbe43ef71823 100644
--- a/drivers/edac/i3200_edac.c
+++ b/drivers/edac/i3200_edac.c
@@ -347,7 +347,7 @@ static int i3200_probe1(struct pci_dev *pdev, int dev_idx)
347 layers[1].type = EDAC_MC_LAYER_CHANNEL; 347 layers[1].type = EDAC_MC_LAYER_CHANNEL;
348 layers[1].size = nr_channels; 348 layers[1].size = nr_channels;
349 layers[1].is_virt_csrow = false; 349 layers[1].is_virt_csrow = false;
350 mci = new_edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 350 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers,
351 sizeof(struct i3200_priv)); 351 sizeof(struct i3200_priv));
352 if (!mci) 352 if (!mci)
353 return -ENOMEM; 353 return -ENOMEM;