|
@@ -225,7 +225,7 @@ static void fsl_ifc_run_command(struct mtd_info *mtd)
|
|
int bufnum = nctrl->page & priv->bufnum_mask;
|
|
int bufnum = nctrl->page & priv->bufnum_mask;
|
|
int sector_start = bufnum * chip->ecc.steps;
|
|
int sector_start = bufnum * chip->ecc.steps;
|
|
int sector_end = sector_start + chip->ecc.steps - 1;
|
|
int sector_end = sector_start + chip->ecc.steps - 1;
|
|
- __be32 *eccstat_regs;
|
|
|
|
|
|
+ __be32 __iomem *eccstat_regs;
|
|
|
|
|
|
eccstat_regs = ifc->ifc_nand.nand_eccstat;
|
|
eccstat_regs = ifc->ifc_nand.nand_eccstat;
|
|
eccstat = ifc_in32(&eccstat_regs[sector_start / 4]);
|
|
eccstat = ifc_in32(&eccstat_regs[sector_start / 4]);
|