summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/intel_vr_nor.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-12 10:46:37 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-04-05 13:04:20 +0100
commit0984c8910426371205da0b60fc1dae64a996fb64 (patch)
tree7c42eb8e633d1eb7167da0d73b8a1b01226576d1 /drivers/mtd/maps/intel_vr_nor.c
parentcce2a026b5778001002dcab0dadec100d8959846 (diff)
mtd: maps: add const qualifiers
Be a bit stricter and add few more 'const' qualifiers. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/intel_vr_nor.c')
-rw-r--r--drivers/mtd/maps/intel_vr_nor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/intel_vr_nor.c b/drivers/mtd/maps/intel_vr_nor.c
index b14053b25026..f581ac1cf022 100644
--- a/drivers/mtd/maps/intel_vr_nor.c
+++ b/drivers/mtd/maps/intel_vr_nor.c
@@ -82,9 +82,9 @@ static void vr_nor_destroy_mtd_setup(struct vr_nor_mtd *p)
static int vr_nor_mtd_setup(struct vr_nor_mtd *p)
{
- static const char *probe_types[] =
+ static const char * const probe_types[] =
{ "cfi_probe", "jedec_probe", NULL };
- const char **type;
+ const char * const *type;
for (type = probe_types; !p->info && *type; type++)
p->info = do_map_probe(*type, &p->map);