summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r--drivers/edac/amd64_edac.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index e5204fe..064e0d6 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -464,6 +464,9 @@ struct amd64_pvt {
/* DCT per-family scrubrate setting */
u32 min_scrubrate;
+ /* family name this instance is running on */
+ const char *ctl_name;
+
/* misc settings */
struct flags {
unsigned long cf8_extcfg:1;
@@ -526,11 +529,6 @@ struct amd64_family_type {
static struct amd64_family_type amd64_family_types[];
-static inline const char *get_amd_family_name(int index)
-{
- return amd64_family_types[index].ctl_name;
-}
-
static inline struct low_ops *family_ops(int index)
{
return &amd64_family_types[index].ops;
OpenPOWER on IntegriCloud