[PATCH] mtd: mxc_nand: Fix sparse warning
Fabio Estevam
festevam at gmail.com
Mon Feb 11 10:51:43 EST 2013
From: Fabio Estevam <fabio.estevam at 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 at 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
More information about the linux-mtd
mailing list