mtd: nand/docg4: fix driver after Linux resync
authorMike Dunn <mikedunn@newsguy.com>
Mon, 17 Jun 2013 17:44:55 +0000 (10:44 -0700)
committerScott Wood <scottwood@freescale.com>
Mon, 17 Jun 2013 22:26:12 +0000 (17:26 -0500)
commit211bf20c35838b2181e8d04fd7ce8a7ac6e68db1
treed924d3e0847d2a38d64188542c16f30dffb8c272
parent2f998071254d566c71c34ef013aef1d9d0ec0fa3
mtd: nand/docg4: fix driver after Linux resync

Commit dfe64e2c89731a3f9950d7acd8681b68df2bae03:

    mtd: resync with Linux-3.7.1

broke the docg4 driver.  Specifically:
 - some of the prototypes of the ecc methods changed
 - the NAND_NO_AUTOINCR flag was removed
 - the ecc.strength element was added.

This patch fixes these.  Tested on the docg4 on my palmtre680 board.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
drivers/mtd/nand/docg4.c