[PATCH 4/9] bcma_mips: add a const qualifier
Artem Bityutskiy
dedekind1 at gmail.com
Tue Mar 12 07:08:23 EDT 2013
From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Be a bit stricter and add few more 'const' qualifiers.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Cc: "Rafał Miłecki" <zajec5 at gmail.com>
---
drivers/bcma/driver_mips.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c
index 9a7f0e3..11115bb 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,
--
1.7.10.4
More information about the linux-mtd
mailing list