[U-Boot] [v3 PATCH 07/12] mtd: atmel_nand: add missign include
Heiko Schocher
hs at denx.de
Fri Oct 31 08:31:01 CET 2014
using this driver in SPL code with CONFIG_SPL_NAND_ECC
configured leads in an compileerror. Fix this.
Signed-off-by: Heiko Schocher <hs at denx.de>
Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
Reviewed-by: Bo Shen <voice.shen at atmel.com>
---
Changes in v3:
add Reviewed-by from Bo Shen
Changes in v2:
add Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
drivers/mtd/nand/atmel_nand.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 9114a86..d506e42 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -18,6 +18,7 @@
#include <malloc.h>
#include <nand.h>
#include <watchdog.h>
+#include <linux/mtd/nand_ecc.h>
#ifdef CONFIG_ATMEL_NAND_HWECC
--
1.8.3.1
More information about the U-Boot
mailing list