[PATCH][resend] mtd: atmel_nand: make PMECC lookup table and offset property optional

Brian Norris computersforpeace at gmail.com
Thu Aug 14 15:46:25 PDT 2014


On Fri, Aug 08, 2014 at 05:28:30PM +0800, Josh Wu wrote:
> If there is no PMECC lookup table stored in ROM, or lookup table offset is
> not specified, PMECC driver should build it in DDR by itself.
> 
> That make the PMECC driver work for some board which doesn't has PMECC
> lookup table in ROM.
> 
> Signed-off-by: Josh Wu <josh.wu at atmel.com>
> Cc: devicetree at vger.kernel.org

drivers/mtd/nand/atmel_nand.c:1204:11: warning: no previous prototype for 'create_lookup_table' [-Wmissing-prototypes]

You probably should make create_lookup_table() static.

Brian



More information about the linux-mtd mailing list