This patch fixes this warning:

drivers/mtd/nand/nand_mxs.c: In function 'mxs_nand_scan_bbt':
drivers/mtd/nand/nand_mxs.c:1043:2: warning:
implicit declaration of function 'mxs_reset_block'
[-Wimplicit-function-declaration]

Signed-off-by: Marc Kleine-Budde <[email protected]>
---
...applied to current next.

Marc

 drivers/mtd/nand/nand_mxs.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/nand/nand_mxs.c b/drivers/mtd/nand/nand_mxs.c
index 8964436..ba49287 100644
--- a/drivers/mtd/nand/nand_mxs.c
+++ b/drivers/mtd/nand/nand_mxs.c
@@ -31,6 +31,7 @@
 #include <mach/clock.h>
 #include <mach/imx-regs.h>
 #include <mach/dma.h>
+#include <mach/mxs.h>
 
 #define        MX28_BLOCK_SFTRST                               (1 << 31)
 #define        MX28_BLOCK_CLKGATE                              (1 << 30)
-- 
1.7.10


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to