aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/edac_core.h2
-rw-r--r--drivers/edac/edac_mc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h
index 3c2625e7980d..6c9f381e8fe6 100644
--- a/drivers/edac/edac_core.h
+++ b/drivers/edac/edac_core.h
@@ -66,7 +66,7 @@
66#define EDAC_PCI "PCI" 66#define EDAC_PCI "PCI"
67#define EDAC_DEBUG "DEBUG" 67#define EDAC_DEBUG "DEBUG"
68 68
69extern const char *edac_mem_types[]; 69extern const char * const edac_mem_types[];
70 70
71#ifdef CONFIG_EDAC_DEBUG 71#ifdef CONFIG_EDAC_DEBUG
72extern int edac_debug_level; 72extern int edac_debug_level;
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 9f134823fa75..c3893b0ddb18 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -128,7 +128,7 @@ static void edac_mc_dump_mci(struct mem_ctl_info *mci)
128/* 128/*
129 * keep those in sync with the enum mem_type 129 * keep those in sync with the enum mem_type
130 */ 130 */
131const char *edac_mem_types[] = { 131const char * const edac_mem_types[] = {
132 "Empty csrow", 132 "Empty csrow",
133 "Reserved csrow type", 133 "Reserved csrow type",
134 "Unknown csrow type", 134 "Unknown csrow type",