summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-12 09:34:50 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-04-05 14:04:07 +0200
commitf1faa69d8b6a3d311c21165020f10fce55a0566b (patch)
tree278fc3c0bb2995d9fe3d5cdd7361b4d24bf4c244 /drivers
parentmtd: physmap: add const qualifiers (diff)
downloadlinux-f1faa69d8b6a3d311c21165020f10fce55a0566b.tar.xz
linux-f1faa69d8b6a3d311c21165020f10fce55a0566b.zip
bcma_mips: add a const qualifier
Be a bit stricter and add few more 'const' qualifiers. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Cc: "Rafał Miłecki" <zajec5@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bcma/driver_mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c
index 9a7f0e3ab5a3..11115bbe115c 100644
--- a/drivers/bcma/driver_mips.c
+++ b/drivers/bcma/driver_mips.c
@@ -21,7 +21,7 @@
#include <linux/serial_reg.h>
#include <linux/time.h>
-static const char *part_probes[] = { "bcm47xxpart", NULL };
+static const char * const part_probes[] = { "bcm47xxpart", NULL };
static struct physmap_flash_data bcma_pflash_data = {
.part_probe_types = part_probes,