diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-09-27 09:30:39 -0400 |
---|---|---|
committer | Borislav Petkov <bp@amd64.org> | 2010-10-21 08:48:00 -0400 |
commit | 47ca08a40b043815134d489e21870b53276f1a4a (patch) | |
tree | aac4e97650680c4df75f6593de3a92760574db46 | |
parent | 9cdeb404a1870c5022915e576dbdc3cde21af5bf (diff) |
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 <borislav.petkov@amd.com>
-rw-r--r-- | drivers/edac/Makefile | 1 | ||||
-rw-r--r-- | drivers/edac/amd64_edac.h | 2 | ||||
-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.c | 2 |
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 | |||
19 | 19 | ||
20 | obj-$(CONFIG_EDAC_MCE_INJ) += mce_amd_inj.o | 20 | obj-$(CONFIG_EDAC_MCE_INJ) += mce_amd_inj.o |
21 | 21 | ||
22 | edac_mce_amd-objs := mce_amd.o | ||
22 | obj-$(CONFIG_EDAC_DECODE_MCE) += edac_mce_amd.o | 23 | obj-$(CONFIG_EDAC_DECODE_MCE) += edac_mce_amd.o |
23 | 24 | ||
24 | obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o | 25 | 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 @@ | |||
72 | #include <linux/edac.h> | 72 | #include <linux/edac.h> |
73 | #include <asm/msr.h> | 73 | #include <asm/msr.h> |
74 | #include "edac_core.h" | 74 | #include "edac_core.h" |
75 | #include "edac_mce_amd.h" | 75 | #include "mce_amd.h" |
76 | 76 | ||
77 | #define amd64_printk(level, fmt, arg...) \ | 77 | #define amd64_printk(level, fmt, arg...) \ |
78 | edac_printk(level, "amd64", fmt, ##arg) | 78 | 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 @@ | |||
1 | #include <linux/module.h> | 1 | #include <linux/module.h> |
2 | #include "edac_mce_amd.h" | 2 | #include "mce_amd.h" |
3 | 3 | ||
4 | static bool report_gart_errors; | 4 | static bool report_gart_errors; |
5 | static void (*nb_bus_decoder)(int node_id, struct mce *m, u32 nbcfg); | 5 | 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 @@ | |||
15 | #include <linux/edac.h> | 15 | #include <linux/edac.h> |
16 | #include <asm/mce.h> | 16 | #include <asm/mce.h> |
17 | 17 | ||
18 | #include "edac_mce_amd.h" | 18 | #include "mce_amd.h" |
19 | 19 | ||
20 | struct edac_mce_attr { | 20 | struct edac_mce_attr { |
21 | struct attribute attr; | 21 | struct attribute attr; |