summaryrefslogtreecommitdiff
path: root/drivers/edac/Makefile
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-09-22 11:56:04 +0200
committerBorislav Petkov <bp@suse.de>2015-09-22 12:29:46 +0200
commit7ac8bf9bc9ba82aea763ef30671a34c6a2a39922 (patch)
tree7aa7d941e608c6376f5564e63b1042680e55fb92 /drivers/edac/Makefile
parent1f93e4a96c9109378204c147b3eec0d0e8100fde (diff)
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 'drivers/edac/Makefile')
-rw-r--r--drivers/edac/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile
index ae3c5f3ce405..dbf53e08bdd1 100644
--- a/drivers/edac/Makefile
+++ b/drivers/edac/Makefile
@@ -12,6 +12,8 @@ obj-$(CONFIG_EDAC_MM_EDAC) += edac_core.o
edac_core-y := edac_mc.o edac_device.o edac_mc_sysfs.o
edac_core-y += edac_module.o edac_device_sysfs.o
+edac_core-$(CONFIG_EDAC_DEBUG) += debugfs.o
+
ifdef CONFIG_PCI
edac_core-y += edac_pci.o edac_pci_sysfs.o
endif