diff options
Diffstat (limited to 'drivers/edac/i82975x_edac.c')
-rw-r--r-- | drivers/edac/i82975x_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/i82975x_edac.c b/drivers/edac/i82975x_edac.c index 092fa5ab2e1a..9c346d7f707f 100644 --- a/drivers/edac/i82975x_edac.c +++ b/drivers/edac/i82975x_edac.c | |||
@@ -555,7 +555,7 @@ static int i82975x_probe1(struct pci_dev *pdev, int dev_idx) | |||
555 | layers[1].type = EDAC_MC_LAYER_CHANNEL; | 555 | layers[1].type = EDAC_MC_LAYER_CHANNEL; |
556 | layers[1].size = I82975X_NR_CSROWS(chans); | 556 | layers[1].size = I82975X_NR_CSROWS(chans); |
557 | layers[1].is_virt_csrow = false; | 557 | layers[1].is_virt_csrow = false; |
558 | mci = new_edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); | 558 | mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); |
559 | if (!mci) { | 559 | if (!mci) { |
560 | rc = -ENOMEM; | 560 | rc = -ENOMEM; |
561 | goto fail1; | 561 | goto fail1; |