edac: move nr_pages to dimm struct
[deliverable/linux.git] / drivers / edac / mpc85xx_edac.c
index fb92916d08726b3726f21ee0eac3ea8aaf2b2e0d..c1d9e158972cd9509e88b31d859bc4d1914f334c 100644 (file)
@@ -947,7 +947,8 @@ static void __devinit mpc85xx_init_csrows(struct mem_ctl_info *mci)
 
                csrow->first_page = start;
                csrow->last_page = end;
-               csrow->nr_pages = end + 1 - start;
+
+               dimm->nr_pages = end + 1 - start;
                dimm->grain = 8;
                dimm->mtype = mtype;
                dimm->dtype = DEV_UNKNOWN;
This page took 0.026505 seconds and 5 git commands to generate.