diff options
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index e5204feda191..064e0d691ff9 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h | |||
@@ -464,6 +464,9 @@ struct amd64_pvt { | |||
464 | /* DCT per-family scrubrate setting */ | 464 | /* DCT per-family scrubrate setting */ |
465 | u32 min_scrubrate; | 465 | u32 min_scrubrate; |
466 | 466 | ||
467 | /* family name this instance is running on */ | ||
468 | const char *ctl_name; | ||
469 | |||
467 | /* misc settings */ | 470 | /* misc settings */ |
468 | struct flags { | 471 | struct flags { |
469 | unsigned long cf8_extcfg:1; | 472 | unsigned long cf8_extcfg:1; |
@@ -526,11 +529,6 @@ struct amd64_family_type { | |||
526 | 529 | ||
527 | static struct amd64_family_type amd64_family_types[]; | 530 | static struct amd64_family_type amd64_family_types[]; |
528 | 531 | ||
529 | static inline const char *get_amd_family_name(int index) | ||
530 | { | ||
531 | return amd64_family_types[index].ctl_name; | ||
532 | } | ||
533 | |||
534 | static inline struct low_ops *family_ops(int index) | 532 | static inline struct low_ops *family_ops(int index) |
535 | { | 533 | { |
536 | return &amd64_family_types[index].ops; | 534 | return &amd64_family_types[index].ops; |