summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/bcm47xxsflash.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-12 10:50:07 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-04-05 13:04:22 +0100
commitafffeec9e0cf991e5cf697abdb89123ec708f097 (patch)
treee074902dabd3c6a62bbc7e1a73f1330d246ffd7d /drivers/mtd/devices/bcm47xxsflash.c
parent0984c8910426371205da0b60fc1dae64a996fb64 (diff)
downloadlinux-afffeec9e0cf991e5cf697abdb89123ec708f097.tar.bz2
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/bcm47xxsflash.c')
-rw-r--r--drivers/mtd/devices/bcm47xxsflash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/bcm47xxsflash.c b/drivers/mtd/devices/bcm47xxsflash.c
index 95266285acb1..f86a78732dd8 100644
--- a/drivers/mtd/devices/bcm47xxsflash.c
+++ b/drivers/mtd/devices/bcm47xxsflash.c
@@ -10,7 +10,7 @@
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Serial flash driver for BCMA bus");
-static const char *probes[] = { "bcm47xxpart", NULL };
+static const char * const probes[] = { "bcm47xxpart", NULL };
static int bcm47xxsflash_read(struct mtd_info *mtd, loff_t from, size_t len,
size_t *retlen, u_char *buf)