diff options
author | Daniel Palmer <danieruru@gmail.com> | 2014-04-05 04:05:45 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2014-05-25 23:28:36 -0400 |
commit | 5198f847f7229a7f3a44d774d1e662ab6c689dc0 (patch) | |
tree | 6c215f03ee8946132635d0aeec7134113c79d10f /arch/m68k | |
parent | 0b1755160cbb17c01fceba42d55c49ec7a63671d (diff) |
m68k: fix a compiler warning when building for DragonBall
In file included from arch/m68k/kernel/setup.c:4:0:
arch/m68k/kernel/setup_no.c:70:0: warning: "CPU_NAME" redefined [enabled by default]
#define CPU_NAME "MC68VZ328"
^
arch/m68k/kernel/setup_no.c:61:0: note: this is the location of the previous definition
#define CPU_NAME "MC68000"
^
Signed-off-by: Daniel Palmer <danieruru@gmail.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/kernel/setup_no.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c index 5b16f5d61b44..88c27d94a721 100644 --- a/arch/m68k/kernel/setup_no.c +++ b/arch/m68k/kernel/setup_no.c | |||
@@ -58,17 +58,16 @@ void (*mach_halt)(void); | |||
58 | void (*mach_power_off)(void); | 58 | void (*mach_power_off)(void); |
59 | 59 | ||
60 | #ifdef CONFIG_M68000 | 60 | #ifdef CONFIG_M68000 |
61 | #define CPU_NAME "MC68000" | 61 | #if defined(CONFIG_M68328) |
62 | #endif | ||
63 | #ifdef CONFIG_M68328 | ||
64 | #define CPU_NAME "MC68328" | 62 | #define CPU_NAME "MC68328" |
65 | #endif | 63 | #elif defined(CONFIG_M68EZ328) |
66 | #ifdef CONFIG_M68EZ328 | ||
67 | #define CPU_NAME "MC68EZ328" | 64 | #define CPU_NAME "MC68EZ328" |
68 | #endif | 65 | #elif defined(CONFIG_M68VZ328) |
69 | #ifdef CONFIG_M68VZ328 | ||
70 | #define CPU_NAME "MC68VZ328" | 66 | #define CPU_NAME "MC68VZ328" |
67 | #else | ||
68 | #define CPU_NAME "MC68000" | ||
71 | #endif | 69 | #endif |
70 | #endif /* CONFIG_M68000 */ | ||
72 | #ifdef CONFIG_M68360 | 71 | #ifdef CONFIG_M68360 |
73 | #define CPU_NAME "MC68360" | 72 | #define CPU_NAME "MC68360" |
74 | #endif | 73 | #endif |