]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/edac/ppc4xx_edac.c
Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / drivers / edac / ppc4xx_edac.c
index ef6b7e08f4856817163ef6dbf9d14aee90c65b9a..0f04d5ead521bd8097896783a6da532da9cfa60a 100644 (file)
@@ -974,7 +974,7 @@ static int ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1)
                 * page size (PAGE_SIZE) or the memory width (2 or 4).
                 */
                for (j = 0; j < csi->nr_channels; j++) {
-                       struct dimm_info *dimm = csi->channels[j].dimm;
+                       struct dimm_info *dimm = csi->channels[j]->dimm;
 
                        dimm->nr_pages  = nr_pages / csi->nr_channels;
                        dimm->grain     = 1;