OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b57819
)
[MTD] [NOR] Add device parent info to physmap_of
author
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 6 Apr 2009 14:15:42 +0000
(07:15 -0700)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 6 Apr 2009 14:15:42 +0000
(07:15 -0700)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/physmap_of.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/physmap_of.c
b/drivers/mtd/maps/physmap_of.c
index
fbf0ca9
..
c83a60f
100644
(file)
--- a/
drivers/mtd/maps/physmap_of.c
+++ b/
drivers/mtd/maps/physmap_of.c
@@
-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