Skip to content

Commit

Permalink
[MTD] [NOR] Add device parent info to physmap_of
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Apr 6, 2009
1 parent 1b57819 commit db99a55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/maps/physmap_of.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db99a55

Please sign in to comment.