[PATCH v2] mtd: atmel_nand: fix the compile error which miss label "err_ecc_ioremap".
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Sep 20 01:23:33 EDT 2012
On 15:10 Tue 11 Sep , Josh Wu wrote:
> Add err_ecc_ioremap label to fix following errors:
> ---8<---
> CC drivers/mtd/nand/atmel_nand.o
> drivers/mtd/nand/atmel_nand.c: In function 'atmel_nand_probe':
> drivers/mtd/nand/atmel_nand.c:1423: error: label 'err_ecc_ioremap' used but not defined
> make[3]: *** [drivers/mtd/nand/atmel_nand.o] Error 1
> make[2]: *** [drivers/mtd/nand] Error 2
> make[1]: *** [drivers/mtd] Error 2
> make: *** [drivers] Error 2
> --->8---
switch to devm_xxx instead this will simplify the error patch and remove patch
Best Regards,
J.
More information about the linux-mtd
mailing list