aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/i82860_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/i82860_edac.c')
-rw-r--r--drivers/edac/i82860_edac.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/edac/i82860_edac.c b/drivers/edac/i82860_edac.c
index baa021b96d18..e2c3b8bc097b 100644
--- a/drivers/edac/i82860_edac.c
+++ b/drivers/edac/i82860_edac.c
@@ -208,7 +208,10 @@ static int i82860_probe1(struct pci_dev *pdev, int dev_idx)
208 208
209 i82860_get_error_info(mci, &discard); /* clear counters */ 209 i82860_get_error_info(mci, &discard); /* clear counters */
210 210
211 if (edac_mc_add_mc(mci)) { 211 /* Here we assume that we will never see multiple instances of this
212 * type of memory controller. The ID is therefore hardcoded to 0.
213 */
214 if (edac_mc_add_mc(mci,0)) {
212 debugf3("%s(): failed edac_mc_add_mc()\n", __func__); 215 debugf3("%s(): failed edac_mc_add_mc()\n", __func__);
213 edac_mc_free(mci); 216 edac_mc_free(mci);
214 } else { 217 } else {