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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/edac/r82600_edac.c b/drivers/edac/r82600_edac.c
index d04769aade5d..eb3aa615dc57 100644
--- a/drivers/edac/r82600_edac.c
+++ b/drivers/edac/r82600_edac.c
@@ -304,7 +304,10 @@ static int r82600_probe1(struct pci_dev *pdev, int dev_idx)
304 304
305 r82600_get_error_info(mci, &discard); /* clear counters */ 305 r82600_get_error_info(mci, &discard); /* clear counters */
306 306
307 if (edac_mc_add_mc(mci)) { 307 /* Here we assume that we will never see multiple instances of this
308 * type of memory controller. The ID is therefore hardcoded to 0.
309 */
310 if (edac_mc_add_mc(mci,0)) {
308 debugf3("%s(): failed edac_mc_add_mc()\n", __func__); 311 debugf3("%s(): failed edac_mc_add_mc()\n", __func__);
309 goto fail; 312 goto fail;
310 } 313 }