aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/edac/i7core_edac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 4a12961c5ef6..915835339d7c 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -1968,6 +1968,10 @@ static int i7core_register_mci(struct i7core_dev *i7core_dev)
1968 pvt = mci->pvt_info; 1968 pvt = mci->pvt_info;
1969 memset(pvt, 0, sizeof(*pvt)); 1969 memset(pvt, 0, sizeof(*pvt));
1970 1970
1971 /* Associates i7core_dev and mci for future usage */
1972 pvt->i7core_dev = i7core_dev;
1973 i7core_dev->mci = mci;
1974
1971 /* 1975 /*
1972 * FIXME: how to handle RDDR3 at MCI level? It is possible to have 1976 * FIXME: how to handle RDDR3 at MCI level? It is possible to have
1973 * Mixed RDDR3/UDDR3 with Nehalem, provided that they are on different 1977 * Mixed RDDR3/UDDR3 with Nehalem, provided that they are on different
@@ -2033,10 +2037,6 @@ static int i7core_register_mci(struct i7core_dev *i7core_dev)
2033 goto fail1; 2037 goto fail1;
2034 } 2038 }
2035 2039
2036 /* Associates i7core_dev and mci for future usage */
2037 pvt->i7core_dev = i7core_dev;
2038 i7core_dev->mci = mci;
2039
2040 return 0; 2040 return 0;
2041 2041
2042fail1: 2042fail1: