mach/imx-nand.h provides the prototype for imx_nand_set_layout() which this file implements, so include the header file. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/mach-imx/nand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/nand.c b/arch/arm/mach-imx/nand.c index f298a36046..7574fe80b2 100644 --- a/arch/arm/mach-imx/nand.c +++ b/arch/arm/mach-imx/nand.c @@ -17,6 +17,7 @@ #include <mach/imx25-regs.h> #include <mach/imx27-regs.h> #include <mach/imx35-regs.h> +#include <mach/imx-nand.h> #include <io.h> #define RCSR_NFC_FMS (1 << 8) -- 2.19.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox