summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/Makefile1
-rw-r--r--drivers/edac/amd64_edac.h2
-rw-r--r--drivers/edac/mce_amd.c (renamed from drivers/edac/edac_mce_amd.c)2
-rw-r--r--drivers/edac/mce_amd.h (renamed from drivers/edac/edac_mce_amd.h)0
-rw-r--r--drivers/edac/mce_amd_inj.c2
5 files changed, 4 insertions, 3 deletions
diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile
index 5c38ad38f3a3..32c7bc93c525 100644
--- a/drivers/edac/Makefile
+++ b/drivers/edac/Makefile
@@ -19,6 +19,7 @@ endif
obj-$(CONFIG_EDAC_MCE_INJ) += mce_amd_inj.o
+edac_mce_amd-objs := mce_amd.o
obj-$(CONFIG_EDAC_DECODE_MCE) += edac_mce_amd.o
obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index 67d9ceb4b839..13e1d6f25bd1 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -72,7 +72,7 @@
#include <linux/edac.h>
#include <asm/msr.h>
#include "edac_core.h"
-#include "edac_mce_amd.h"
+#include "mce_amd.h"
#define amd64_printk(level, fmt, arg...) \
edac_printk(level, "amd64", fmt, ##arg)
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/mce_amd.c
index c75c47b0f3ea..5eb8042d0c6a 100644
--- a/drivers/edac/edac_mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -1,5 +1,5 @@
#include <linux/module.h>
-#include "edac_mce_amd.h"
+#include "mce_amd.h"
static bool report_gart_errors;
static void (*nb_bus_decoder)(int node_id, struct mce *m, u32 nbcfg);
diff --git a/drivers/edac/edac_mce_amd.h b/drivers/edac/mce_amd.h
index 2712a906afdf..2712a906afdf 100644
--- a/drivers/edac/edac_mce_amd.h
+++ b/drivers/edac/mce_amd.h
diff --git a/drivers/edac/mce_amd_inj.c b/drivers/edac/mce_amd_inj.c
index 0e4f2dcf3bd6..8d0688f36d4c 100644
--- a/drivers/edac/mce_amd_inj.c
+++ b/drivers/edac/mce_amd_inj.c
@@ -15,7 +15,7 @@
#include <linux/edac.h>
#include <asm/mce.h>
-#include "edac_mce_amd.h"
+#include "mce_amd.h"
struct edac_mce_attr {
struct attribute attr;