1
0
Fork 0

EDAC: Fix mem_types strings type

This one got forgotten during an earlier cleanup.

Signed-off-by: Borislav Petkov <bp@suse.de>
wifi-calibration
Borislav Petkov 2014-08-13 23:27:55 +02:00
parent 52addcf9d6
commit f4ce6eca71
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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",