mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mtd nand: mxs: add missing include for mxs_reset_block
@ 2012-06-21 10:41 Marc Kleine-Budde
  2012-06-21 18:52 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Kleine-Budde @ 2012-06-21 10:41 UTC (permalink / raw)
  To: sha; +Cc: barebox

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@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


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd nand: mxs: add missing include for mxs_reset_block
  2012-06-21 10:41 [PATCH] mtd nand: mxs: add missing include for mxs_reset_block Marc Kleine-Budde
@ 2012-06-21 18:52 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-06-21 18:52 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: barebox

On Thu, Jun 21, 2012 at 12:41:16PM +0200, Marc Kleine-Budde wrote:
> 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]

Squashed into the original commit breaking it.

Thanks
 Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-21 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-21 10:41 [PATCH] mtd nand: mxs: add missing include for mxs_reset_block Marc Kleine-Budde
2012-06-21 18:52 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox