Re: [PATCH 09/17] mtd: nand_mrvl_nfc: Get ecc parameters from DT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx> writes:

> With DT helpers for ECC step size and strength, now use them on
> Marvell NAND driver.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx>
This one break the pxa (zylonite310_defconfig) build :
drivers/mtd/nand/nand_mrvl_nfc.c: In function ‘mrvl_nand_probe_dt’:
drivers/mtd/nand/nand_mrvl_nfc.c:1163:2: error: implicit declaration of function ‘of_get_nand_ecc_strength’ [-Werror=implicit-function-declaration]
  host->ecc_strength = of_get_nand_ecc_strength(np);
  ^
drivers/mtd/nand/nand_mrvl_nfc.c:1167:2: error: implicit declaration of function ‘of_get_nand_ecc_step_size’ [-Werror=implicit-function-declaration]
  host->ecc_step = of_get_nand_ecc_step_size(np);
  ^
cc1: some warnings being treated as errors

Cheers.

--
Robert

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux