mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: sha@pengutronix.de
Cc: barebox@lists.infradead.org
Subject: [PATCH] mtd nand: mxs: add missing include for mxs_reset_block
Date: Thu, 21 Jun 2012 12:41:16 +0200	[thread overview]
Message-ID: <1340275276-24051-1-git-send-email-mkl@pengutronix.de> (raw)

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

             reply	other threads:[~2012-06-21 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21 10:41 Marc Kleine-Budde [this message]
2012-06-21 18:52 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340275276-24051-1-git-send-email-mkl@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=sha@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox