MTD: fix pismo build error
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 1 Mar 2010 16:19:23 +0000 (16:19 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 1 Mar 2010 16:19:23 +0000 (16:19 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mtd/maps/pismo.c

index c48cad271f5d6931a2c087a36945eabfc1fb8668..30e12c88d1dae5b98bb3098628ac4b3db9c738a0 100644 (file)
@@ -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)