aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/i3000_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/i3000_edac.c')
-rw-r--r--drivers/edac/i3000_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/i3000_edac.c b/drivers/edac/i3000_edac.c
index 195a92e1c0ae..8ad1744faacd 100644
--- a/drivers/edac/i3000_edac.c
+++ b/drivers/edac/i3000_edac.c
@@ -362,7 +362,7 @@ static int i3000_probe1(struct pci_dev *pdev, int dev_idx)
362 layers[1].type = EDAC_MC_LAYER_CHANNEL; 362 layers[1].type = EDAC_MC_LAYER_CHANNEL;
363 layers[1].size = nr_channels; 363 layers[1].size = nr_channels;
364 layers[1].is_virt_csrow = false; 364 layers[1].is_virt_csrow = false;
365 mci = new_edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); 365 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0);
366 if (!mci) 366 if (!mci)
367 return -ENOMEM; 367 return -ENOMEM;
368 368