forked from luck/tmp_suning_uos_patched
EDAC: Fix mem_types strings type
This one got forgotten during an earlier cleanup. Signed-off-by: Borislav Petkov <bp@suse.de>
This commit is contained in:
parent
52addcf9d6
commit
f4ce6eca71
@ -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;
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user