summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/docg3.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-12 09:50:07 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-04-05 14:04:22 +0200
commitafffeec9e0cf991e5cf697abdb89123ec708f097 (patch)
treee074902dabd3c6a62bbc7e1a73f1330d246ffd7d /drivers/mtd/devices/docg3.c
parentmtd: maps: add const qualifiers (diff)
downloadlinux-afffeec9e0cf991e5cf697abdb89123ec708f097.tar.xz
linux-afffeec9e0cf991e5cf697abdb89123ec708f097.zip
mtd: devices: 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/devices/docg3.c')
-rw-r--r--drivers/mtd/devices/docg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c
index 8510ccb9c6f0..a8caad21701c 100644
--- a/drivers/mtd/devices/docg3.c
+++ b/drivers/mtd/devices/docg3.c
@@ -123,7 +123,7 @@ static inline void doc_flash_address(struct docg3 *docg3, u8 addr)
doc_writeb(docg3, addr, DOC_FLASHADDRESS);
}
-static char const *part_probes[] = { "cmdlinepart", "saftlpart", NULL };
+static char const * const part_probes[] = { "cmdlinepart", "saftlpart", NULL };
static int doc_register_readb(struct docg3 *docg3, int reg)
{