From 47ca08a40b043815134d489e21870b53276f1a4a Mon Sep 17 00:00:00 2001 From: Borislav Petkov Date: Mon, 27 Sep 2010 15:30:39 +0200 Subject: [PATCH] EDAC, MCE: Rename files Drop "edac_" string from the filenames since they're prefixed with edac/ in their pathname anyway. Signed-off-by: Borislav Petkov --- drivers/edac/Makefile | 1 + drivers/edac/amd64_edac.h | 2 +- drivers/edac/{edac_mce_amd.c => mce_amd.c} | 2 +- drivers/edac/{edac_mce_amd.h => mce_amd.h} | 0 drivers/edac/mce_amd_inj.c | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) rename drivers/edac/{edac_mce_amd.c => mce_amd.c} (99%) rename drivers/edac/{edac_mce_amd.h => mce_amd.h} (100%) 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 #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 c75c47b0f3ea..5eb8042d0c6a 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 0e4f2dcf3bd6..8d0688f36d4c 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;