[9/9] mtd: mtdcore: use const qualifier

Submitted by Artem Bityutskiy on March 12, 2013, 11:08 a.m.

Details

Message ID 1363086508-2405-10-git-send-email-dedekind1@gmail.com
State Accepted
Commit ccef4dcc5a1628dd662297b028f08e0b06bbf05e
Headers show

Commit Message

Artem Bityutskiy March 12, 2013, 11:08 a.m.
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

Be a bit stricter and add few more 'const' qualifiers.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
---
 drivers/mtd/mtdpart.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index 9ee0911..3014933 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -694,7 +694,7 @@  EXPORT_SYMBOL_GPL(deregister_mtd_parser);
  * Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you
  * are changing this array!
  */
-static const char *default_mtd_part_types[] = {
+static const char * const default_mtd_part_types[] = {
 	"cmdlinepart",
 	"ofpart",
 	NULL