summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-03-01 19:19:23 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-03-01 19:19:23 +0300
commit1d40ddd10dab332456e3863fed2a6e71aa6635ab (patch)
tree06f97563bc18ccb158782ea690e7162323eef0d7 /drivers/mtd
parent98e12b5a6e05413420a7e3b3eca7fbfc2ff41b6d (diff)
downloadlinux-1d40ddd10dab332456e3863fed2a6e71aa6635ab.tar.xz
MTD: fix pismo build error
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd')
-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)