From: Russell King Date: Mon, 1 Mar 2010 16:19:23 +0000 (+0000) Subject: MTD: fix pismo build error X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1d40ddd10dab332456e3863fed2a6e71aa6635ab;p=linux.git MTD: fix pismo build error Signed-off-by: Russell King --- diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c index c48cad271f5d6..30e12c88d1dae 100644 --- a/drivers/mtd/maps/pismo.c +++ b/drivers/mtd/maps/pismo.c @@ -118,7 +118,7 @@ static int __devinit pismo_add_device(struct pismo_data *pismo, int i, { struct platform_device *dev; struct resource res = { }; - phys_addr_t base = region.base; + phys_addr_t base = region->base; int ret; if (base == ~0)