public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: mxc_nand: Fix sparse warning
@ 2013-02-11 15:51 Fabio Estevam
  2013-02-12  2:39 ` Ezequiel Garcia
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2013-02-11 15:51 UTC (permalink / raw)
  To: artem.bityutskiy; +Cc: Fabio Estevam, linux-mtd

From: Fabio Estevam <fabio.estevam@freescale.com>

Fix the following sparse warning:

drivers/mtd/nand/mxc_nand.c:269:25: warning: duplicate const

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/mtd/nand/mxc_nand.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 45204e4..37037cb 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -266,7 +266,7 @@ static struct nand_ecclayout nandv2_hw_eccoob_4k = {
 	}
 };
 
-static const char const *part_probes[] = {
+static const char *part_probes[] = {
 	"cmdlinepart", "RedBoot", "ofpart", NULL };
 
 static void memcpy32_fromio(void *trg, const void __iomem  *src, size_t size)
-- 
1.7.9.5

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

end of thread, other threads:[~2013-02-13  8:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 15:51 [PATCH] mtd: mxc_nand: Fix sparse warning Fabio Estevam
2013-02-12  2:39 ` Ezequiel Garcia
2013-02-12 20:50   ` Fabio Estevam
2013-02-13  8:40     ` Ezequiel Garcia

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