mtd: nand: fix 512 byte software ecc support
commit260dc003e9fd41a6cac64308e63dea37ea5de13f
authorVimal Singh <vimalsingh@ti.com>
Mon, 23 Feb 2009 08:16:08 +0000 (23 13:46 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Jun 2009 16:40:14 +0000 (5 17:40 +0100)
tree301bc55d79fd4386776ba3cf753c682e7c69f62d
parent6a4123e581b3112ff4ea7439ab9ae5cb271a9dbd
mtd: nand: fix 512 byte software ecc support

Type of 'byte_addr' needes to be 'unsigned int' for 512 byte
ECC support.

Signed-off-by: Vimal Singh <vimalsingh@ti.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_ecc.c