From 1d40ddd10dab332456e3863fed2a6e71aa6635ab Mon Sep 17 00:00:00 2001 From: Russell King Date: Mon, 1 Mar 2010 16:19:23 +0000 Subject: [PATCH] MTD: fix pismo build error Signed-off-by: Russell King --- drivers/mtd/maps/pismo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c index c48cad2..30e12c8 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) -- 2.7.4