mtd: Fix endianness issues from device tree
authorIan Munsie <imunsie@au1.ibm.com>
Fri, 1 Oct 2010 07:06:08 +0000 (17:06 +1000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 23:55:56 +0000 (00:55 +0100)
commit766f271a63d1ee7caed8030736e6aed253d02073
tree198b4cf3efd5de59121bdca483a095b8234b588a
parentd86fbdb8ed0ac957693ff475cca076021677166a
mtd: Fix endianness issues from device tree

This patch adds the appropriate conversions to correct the endianness
issues in the MTD driver whenever it accesses the device tree (which is
always big endian).

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/physmap_of.c
drivers/mtd/nand/fsl_upm.c
drivers/mtd/nand/mpc5121_nfc.c
drivers/mtd/nand/ndfc.c
drivers/mtd/ofpart.c