MTD: fix pismo build error

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King 2010-03-01 16:19:23 +00:00
parent 98e12b5a6e
commit 1d40ddd10d

View 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)