[PATCH 5/9] ssb: driver_mipscore: add a const qualifier

Artem Bityutskiy dedekind1 at gmail.com
Tue Mar 12 07:08:24 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: Michael Buesch <m at bues.ch>
---
 drivers/ssb/driver_mipscore.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ssb/driver_mipscore.c b/drivers/ssb/driver_mipscore.c
index 33b37da..8b64f82 100644
--- a/drivers/ssb/driver_mipscore.c
+++ b/drivers/ssb/driver_mipscore.c
@@ -18,7 +18,7 @@
 
 #include "ssb_private.h"
 
-static const char *part_probes[] = { "bcm47xxpart", NULL };
+static const char * const part_probes[] = { "bcm47xxpart", NULL };
 
 static struct physmap_flash_data ssb_pflash_data = {
 	.part_probe_types	= part_probes,
-- 
1.7.10.4




More information about the linux-mtd mailing list