aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/edac.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r--include/linux/edac.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h
index 8a2da47daa47..64ae0c5cf62e 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -17,6 +17,7 @@
17#include <linux/kobject.h> 17#include <linux/kobject.h>
18#include <linux/completion.h> 18#include <linux/completion.h>
19#include <linux/workqueue.h> 19#include <linux/workqueue.h>
20#include <linux/debugfs.h>
20 21
21struct device; 22struct device;
22 23
@@ -634,6 +635,12 @@ struct mem_ctl_info {
634 635
635 /* the internal state of this controller instance */ 636 /* the internal state of this controller instance */
636 int op_state; 637 int op_state;
638
639#ifdef CONFIG_EDAC_DEBUG
640 struct dentry *debugfs;
641 u8 fake_inject_layer[EDAC_MAX_LAYERS];
642 u32 fake_inject_ue;
643#endif
637}; 644};
638 645
639#endif 646#endif