diff options
Diffstat (limited to 'drivers/edac/e752x_edac.c')
-rw-r--r-- | drivers/edac/e752x_edac.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/edac/e752x_edac.c b/drivers/edac/e752x_edac.c index de9f332eabf0..5e773e382e8a 100644 --- a/drivers/edac/e752x_edac.c +++ b/drivers/edac/e752x_edac.c | |||
@@ -953,7 +953,10 @@ static int e752x_probe1(struct pci_dev *pdev, int dev_idx) | |||
953 | "tolm = %x, remapbase = %x, remaplimit = %x\n", pvt->tolm, | 953 | "tolm = %x, remapbase = %x, remaplimit = %x\n", pvt->tolm, |
954 | pvt->remapbase, pvt->remaplimit); | 954 | pvt->remapbase, pvt->remaplimit); |
955 | 955 | ||
956 | if (edac_mc_add_mc(mci)) { | 956 | /* Here we assume that we will never see multiple instances of this |
957 | * type of memory controller. The ID is therefore hardcoded to 0. | ||
958 | */ | ||
959 | if (edac_mc_add_mc(mci,0)) { | ||
957 | debugf3("%s(): failed edac_mc_add_mc()\n", __func__); | 960 | debugf3("%s(): failed edac_mc_add_mc()\n", __func__); |
958 | goto fail; | 961 | goto fail; |
959 | } | 962 | } |