MTD: fix pismo build error
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
98e12b5a6e
commit
1d40ddd10d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue