ssb: driver_mipscore: add a const qualifier
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Apr 5 08:59:07 EDT 2013
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=255e9fd4b10005fe95d4c1862d6428f7a857deb9
Commit: 255e9fd4b10005fe95d4c1862d6428f7a857deb9
Parent: f1faa69d8b6a3d311c21165020f10fce55a0566b
Author: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
AuthorDate: Tue Mar 12 10:37:29 2013 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Apr 5 13:04:10 2013 +0100
ssb: driver_mipscore: add a const qualifier
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>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
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,
More information about the linux-mtd-cvs
mailing list