mtd: physmap_of: Fix ROM support via OF
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/2 mtd: physmap_of: Fix ROM support via OF
The "ROM" and unknown probe types within the obsolete "direct-mapped" probe function used the nonexistent "mtd_rom" probe instead of the intended "map_rom".
Signed-off-by Aaron Sierra <[email protected]>
--- drivers/mtd/maps/physmap_of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/maps/physmap_of.c +1 -1
@@ -103,7 +103,7 @@ static struct mtd_info *obsolete_probe(struct platform_device *dev,if (strcmp (of_probe,"ROM" ) !=0 )dev_warn (&dev->dev,"obsolete_probe: don't know probe " "type '%s', mapping as rom\n" , of_probe); -return do_map_probe ("mtd_rom" , map); +return do_map_probe ("map_rom" , map); } }
Signature · 1 line
1.9.1
Quoted 5 lines · Aaron Sierra
The "ROM" and unknown probe types within the obsolete "direct-mapped" probe function used the nonexistent "
mtd_rom" probe instead of the intended "map_rom".Signed-off-by Aaron Sierra <[email protected]>
Pushed both to l2-mtd.git. Thanks!
Brian