mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-24 13:05:46 +00:00
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