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

Josh Wu josh.wu at atmel.com
Mon Aug 18 00:09:58 PDT 2014


Hi, Brian

On 8/15/2014 6:46 AM, Brian Norris wrote:
> 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.

Thank you to catch that.
I'll send a v2 version for make the function static.

>
> Brian
Best Regards,
Josh Wu



More information about the linux-mtd mailing list