Commit db99a552 authored by David Woodhouse's avatar David Woodhouse

[MTD] [NOR] Add device parent info to physmap_of

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 1b578193
......@@ -219,6 +219,7 @@ static int __devinit of_flash_probe(struct of_device *dev,
goto err_out;
}
info->mtd->owner = THIS_MODULE;
info->mtd->dev.parent = &dev->dev;
#ifdef CONFIG_MTD_PARTITIONS
/* First look for RedBoot table or partitions on the command
......
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