]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit142d5fdb9940b618a2b5422f733064af894d00c3
tree198b4cf3efd5de59121bdca483a095b8234b588a
parentde6db16a514374511b6deac65328441872bd3ac9
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