commit | db99a5523175ba15fef4719c722cea11b94911bb | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Mon Apr 06 07:15:42 2009 -0700 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Apr 06 07:15:42 2009 -0700 |
tree | 97157a675da7b6d0a0b6a46ad28f9717c5fa4d19 | |
parent | 1b578193af3b94c3d55d9aaf6b53275b1cb59a41 [diff] [blame] |
[MTD] [NOR] Add device parent info to physmap_of Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index fbf0ca9..c83a60f 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c
@@ -219,6 +219,7 @@ 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