summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/pismo.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-03-01 16:19:23 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-03-01 16:19:23 +0000
commit1d40ddd10dab332456e3863fed2a6e71aa6635ab (patch)
tree06f97563bc18ccb158782ea690e7162323eef0d7 /drivers/mtd/maps/pismo.c
parent98e12b5a6e05413420a7e3b3eca7fbfc2ff41b6d (diff)
MTD: fix pismo build error
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd/maps/pismo.c')
-rw-r--r--drivers/mtd/maps/pismo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c
index c48cad271f5d..30e12c88d1da 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)