Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> Cc: Nicolas Ferre <nicolas.ferre@xxxxxxxxx> Cc: Patrice Vilchez <patrice.vilchez@xxxxxxxxx> --- drivers/mtd/nand/atmel_nand.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index e8f85fc..937bb70 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@ -381,7 +381,7 @@ static int __init atmel_nand_probe(struct device_d *dev) if (!host) return -ENOMEM; - host->io_base = (void __iomem *)dev->map_base; + host->io_base = (void __iomem *)dev->resource[0].start; mtd = &host->mtd; nand_chip = &host->nand_chip; -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox