of: MTD: Fix OF probing on little-endian systems
authorMichal Simek <monstr@monstr.eu>
Wed, 29 Sep 2010 05:52:13 +0000 (15:52 +1000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 29 Sep 2010 06:28:14 +0000 (15:28 +0900)
commit2548558445b43c1f18a61c0bd3629f92dffa612e
treeeabc0c5ea0d82f703225520a8545b5b4e341ced4
parenta04e78b8579272c37c42a9badb6dae71f38fe4a9
of: MTD: Fix OF probing on little-endian systems

Convert big-endian DTB to little-endian if necessary.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/mtd/maps/physmap_of.c
drivers/mtd/ofpart.c