aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/r82600_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/r82600_edac.c')
-rw-r--r--drivers/edac/r82600_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/r82600_edac.c b/drivers/edac/r82600_edac.c
index aea1a0c0eca3..e1cacd164f31 100644
--- a/drivers/edac/r82600_edac.c
+++ b/drivers/edac/r82600_edac.c
@@ -291,7 +291,7 @@ static int r82600_probe1(struct pci_dev *pdev, int dev_idx)
291 layers[1].type = EDAC_MC_LAYER_CHANNEL; 291 layers[1].type = EDAC_MC_LAYER_CHANNEL;
292 layers[1].size = R82600_NR_CHANS; 292 layers[1].size = R82600_NR_CHANS;
293 layers[1].is_virt_csrow = false; 293 layers[1].is_virt_csrow = false;
294 mci = new_edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); 294 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0);
295 if (mci == NULL) 295 if (mci == NULL)
296 return -ENOMEM; 296 return -ENOMEM;
297 297