diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile index 5c38ad38f3a383c304528b67150d57c702301a96..32c7bc93c525ef1613d1c116b14b0e1a0e0f4f8a 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 67d9ceb4b8397d6908116aef95bf204b146e24f5..13e1d6f25bd13534df9bbaaa835e2a28dc67580b 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -72,7 +72,7 @@ #include #include #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 similarity index 99% rename from drivers/edac/edac_mce_amd.c rename to drivers/edac/mce_amd.c index c75c47b0f3eafb9cff9be8ddd10c06ad6a0f463a..5eb8042d0c6a1dd47bc67e27b1838d83f1c296d8 100644 --- a/drivers/edac/edac_mce_amd.c +++ b/drivers/edac/mce_amd.c @@ -1,5 +1,5 @@ #include -#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 similarity index 100% rename from drivers/edac/edac_mce_amd.h rename to drivers/edac/mce_amd.h diff --git a/drivers/edac/mce_amd_inj.c b/drivers/edac/mce_amd_inj.c index 0e4f2dcf3bd6773701233465bb3b5b015aa03120..8d0688f36d4cee2331c84fddb2848325badd849e 100644 --- a/drivers/edac/mce_amd_inj.c +++ b/drivers/edac/mce_amd_inj.c @@ -15,7 +15,7 @@ #include #include -#include "edac_mce_amd.h" +#include "mce_amd.h" struct edac_mce_attr { struct attribute attr;