summaryrefslogtreecommitdiffstats
path: root/drivers/edac/mce_amd.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2011-11-29 19:03:25 +0100
committerBorislav Petkov <bp@alien8.de>2012-03-19 12:06:26 +0100
commitebe2aea86872622d4352cd71d55298fedf69a7bb (patch)
treeaa6848d1091c766c7945e7b6f0ada986ad604e03 /drivers/edac/mce_amd.h
parentMCE, AMD: Correct bank 5 error signatures (diff)
downloadlinux-ebe2aea86872622d4352cd71d55298fedf69a7bb.tar.xz
linux-ebe2aea86872622d4352cd71d55298fedf69a7bb.zip
MCE, AMD: Constify error tables
... so that checkpatch can chill out. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Reviewed-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Diffstat (limited to 'drivers/edac/mce_amd.h')
-rw-r--r--drivers/edac/mce_amd.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h
index 6fcf599e691f..c6074c5cd1ef 100644
--- a/drivers/edac/mce_amd.h
+++ b/drivers/edac/mce_amd.h
@@ -69,12 +69,12 @@ enum rrrr_ids {
R4_SNOOP,
};
-extern const char *tt_msgs[];
-extern const char *ll_msgs[];
-extern const char *rrrr_msgs[];
-extern const char *pp_msgs[];
-extern const char *to_msgs[];
-extern const char *ii_msgs[];
+extern const char * const tt_msgs[];
+extern const char * const ll_msgs[];
+extern const char * const rrrr_msgs[];
+extern const char * const pp_msgs[];
+extern const char * const to_msgs[];
+extern const char * const ii_msgs[];
/*
* per-family decoder ops