mtd: physmap_of: Fix ROM support via OF
authorAaron Sierra <asierra@xes-inc.com>
Wed, 17 Sep 2014 18:08:18 +0000 (13:08 -0500)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 22 Sep 2014 17:13:11 +0000 (10:13 -0700)
commit9b07a8d1ab85ccacaceb9f704c361119348aabab
treef6c92f7915fcf159d0322e5b23282bfaea963dfc
parentab95eac99c1714ede92800a9c33f4c96ce8d558c
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 <asierra@xes-inc.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/maps/physmap_of.c