mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 03:26:23 +07:00
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>
This commit is contained in:
parent
0b1755160c
commit
5198f847f7
@ -58,17 +58,16 @@ void (*mach_halt)(void);
|
||||
void (*mach_power_off)(void);
|
||||
|
||||
#ifdef CONFIG_M68000
|
||||
#if defined(CONFIG_M68328)
|
||||
#define CPU_NAME "MC68328"
|
||||
#elif defined(CONFIG_M68EZ328)
|
||||
#define CPU_NAME "MC68EZ328"
|
||||
#elif defined(CONFIG_M68VZ328)
|
||||
#define CPU_NAME "MC68VZ328"
|
||||
#else
|
||||
#define CPU_NAME "MC68000"
|
||||
#endif
|
||||
#ifdef CONFIG_M68328
|
||||
#define CPU_NAME "MC68328"
|
||||
#endif
|
||||
#ifdef CONFIG_M68EZ328
|
||||
#define CPU_NAME "MC68EZ328"
|
||||
#endif
|
||||
#ifdef CONFIG_M68VZ328
|
||||
#define CPU_NAME "MC68VZ328"
|
||||
#endif
|
||||
#endif /* CONFIG_M68000 */
|
||||
#ifdef CONFIG_M68360
|
||||
#define CPU_NAME "MC68360"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user