Commit 1d40ddd1 authored by Russell King's avatar Russell King

MTD: fix pismo build error

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 98e12b5a
...@@ -118,7 +118,7 @@ static int __devinit pismo_add_device(struct pismo_data *pismo, int i, ...@@ -118,7 +118,7 @@ static int __devinit pismo_add_device(struct pismo_data *pismo, int i,
{ {
struct platform_device *dev; struct platform_device *dev;
struct resource res = { }; struct resource res = { };
phys_addr_t base = region.base; phys_addr_t base = region->base;
int ret; int ret;
if (base == ~0) if (base == ~0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment