9
0
Fork 0

atmel_nand: switch to "struct resource"

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2011-07-16 17:44:39 +08:00
parent a42dc1226b
commit 3230114800
1 changed files with 1 additions and 1 deletions

View File

@ -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;