Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44678
For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails. Fix this by using pdev->resource[i].start instead. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 44450
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44348