diff options
author | Borislav Petkov <bp@suse.de> | 2015-09-22 12:56:04 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-09-22 13:29:46 +0300 |
commit | 7ac8bf9bc9ba82aea763ef30671a34c6a2a39922 (patch) | |
tree | 7aa7d941e608c6376f5564e63b1042680e55fb92 /include/linux/edac.h | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde (diff) | |
download | linux-7ac8bf9bc9ba82aea763ef30671a34c6a2a39922.tar.xz |
EDAC: Carve out debugfs functionality
... into a separate compilation unit and drop a couple of
CONFIG_EDAC_DEBUG ifdefferies. Rename edac_create_debug_nodes() to
edac_create_debugfs_nodes(), while at it.
No functionality change.
Cc: <linux-edac@vger.kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r-- | include/linux/edac.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h index da3b72e95db3..b3d87e5822f8 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h @@ -769,12 +769,10 @@ struct mem_ctl_info { /* the internal state of this controller instance */ int op_state; -#ifdef CONFIG_EDAC_DEBUG struct dentry *debugfs; u8 fake_inject_layer[EDAC_MAX_LAYERS]; u32 fake_inject_ue; u16 fake_inject_count; -#endif }; /* |