aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2020-12-15 09:18:44 +0100
committerBorislav Petkov <bp@suse.de>2020-12-28 19:36:25 +0100
commit61810096de3c3ec977c71dbb7e00447d70045163 (patch)
tree9f35f9923d3fe5700cb9cef496399f8f84e9f0ec /drivers/edac/amd64_edac.h
parentEDAC/amd64: Merge sysfs debugging attributes setup code (diff)
downloadlinux-dev-61810096de3c3ec977c71dbb7e00447d70045163.tar.xz
linux-dev-61810096de3c3ec977c71dbb7e00447d70045163.zip
EDAC/amd64: Merge error injection sysfs facilities
Merge them into the main driver and put them inside an EDAC_DEBUG ifdeffery to simplify the driver and have all debugging/injection stuff behind a debug build-time switch. No functional changes. Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com> Link: https://lkml.kernel.org/r/20201215110517.5215-2-bp@alien8.de
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r--drivers/edac/amd64_edac.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index c072ccd3e7e2..85aa820bc165 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -462,10 +462,6 @@ struct ecc_settings {
} flags;
};
-#ifdef CONFIG_EDAC_AMD64_ERROR_INJECTION
-extern const struct attribute_group amd64_edac_inj_group;
-#endif
-
/*
* Each of the PCI Device IDs types have their own set of hardware accessor
* functions and per device encoding/decoding logic.