bcma_mips: 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=f1faa69d8b6a3d311c21165020f10fce55a0566b
Commit: f1faa69d8b6a3d311c21165020f10fce55a0566b
Parent: f39cf6c7d472349a9907955ef213db1f26618ba0
Author: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
AuthorDate: Tue Mar 12 10:34:50 2013 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Apr 5 13:04:07 2013 +0100
bcma_mips: 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: "Rafał Miłecki" <zajec5 at gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.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,
More information about the linux-mtd-cvs
mailing list