summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_stub.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2017-02-03 18:18:05 +0100
committerBorislav Petkov <bp@suse.de>2017-04-10 17:14:41 +0200
commite3c4ff6d8c949fa9a9ea1bd005bf1967efe09d5d (patch)
tree3f9238faa0bb6da4bfc0787b52e9ecadf14b361a /drivers/edac/edac_stub.c
parentEDAC: Issue tracepoint only when it is defined (diff)
downloadlinux-e3c4ff6d8c949fa9a9ea1bd005bf1967efe09d5d.tar.xz
linux-e3c4ff6d8c949fa9a9ea1bd005bf1967efe09d5d.zip
EDAC: Remove EDAC_MM_EDAC
Move all the EDAC core functionality behind CONFIG_EDAC and get rid of that indirection. Update defconfigs which had it. While at it, fix dependencies such that EDAC depends on RAS for the tracepoints. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: linux-arm-kernel@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Cc: Chris Metcalf <cmetcalf@mellanox.com> Cc: linux-edac@vger.kernel.org
Diffstat (limited to 'drivers/edac/edac_stub.c')
-rw-r--r--drivers/edac/edac_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/edac_stub.c b/drivers/edac/edac_stub.c
index aa31cbd17cd2..6aacc569401e 100644
--- a/drivers/edac/edac_stub.c
+++ b/drivers/edac/edac_stub.c
@@ -20,7 +20,7 @@
int edac_report_status = EDAC_REPORTING_ENABLED;
EXPORT_SYMBOL_GPL(edac_report_status);
-static int __init edac_report_setup(char *str)
+static int __init __maybe_unused edac_report_setup(char *str)
{
if (!str)
return -EINVAL;