projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: physmap_of: assign parent for the concatenated MTD
[cascardo/linux.git]
/
drivers
/
mtd
/
maps
/
physmap_of.c
diff --git
a/drivers/mtd/maps/physmap_of.c
b/drivers/mtd/maps/physmap_of.c
index
b782656
..
70c4531
100644
(file)
--- a/
drivers/mtd/maps/physmap_of.c
+++ b/
drivers/mtd/maps/physmap_of.c
@@
-309,6
+309,7
@@
static int of_flash_probe(struct platform_device *dev)
if (err)
goto err_out;
+ info->cmtd->dev.parent = &dev->dev;
mtd_set_of_node(info->cmtd, dp);
part_probe_types = of_get_probes(dp);
if (!part_probe_types) {