[PATCH] mtd nand: mxs: add missing include for mxs_reset_block

Marc Kleine-Budde mkl at pengutronix.de
Thu Jun 21 06:41:16 EDT 2012


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 <mkl at pengutronix.de>
---
...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




More information about the barebox mailing list