diff options
author | Borislav Petkov <bp@suse.de> | 2014-08-13 23:27:55 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-09-02 09:11:16 +0200 |
commit | f4ce6eca71d15b8e12a33ac8e1ef733a83944d2e (patch) | |
tree | 2ae74d918d03dce72bae12e877e8c20306cd3398 | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef (diff) | |
download | talos-obmc-linux-f4ce6eca71d15b8e12a33ac8e1ef733a83944d2e.tar.gz talos-obmc-linux-f4ce6eca71d15b8e12a33ac8e1ef733a83944d2e.zip |
EDAC: Fix mem_types strings type
This one got forgotten during an earlier cleanup.
Signed-off-by: Borislav Petkov <bp@suse.de>
-rw-r--r-- | drivers/edac/edac_core.h | 2 | ||||
-rw-r--r-- | drivers/edac/edac_mc.c | 2 |
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 @@ #define EDAC_PCI "PCI" #define EDAC_DEBUG "DEBUG" -extern const char *edac_mem_types[]; +extern const char * const edac_mem_types[]; #ifdef CONFIG_EDAC_DEBUG extern 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) /* * keep those in sync with the enum mem_type */ -const char *edac_mem_types[] = { +const char * const edac_mem_types[] = { "Empty csrow", "Reserved csrow type", "Unknown csrow type", |