public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH 1/2] m68k: fix some compiler warnings when building for DragonBall
@ 2014-04-05  5:39 Daniel Palmer
  2014-04-05  5:39 ` [PATCH 2/2] m68k: Only allow for one member of the DragonBall family to be selected in Kconfig. The support code for these chips doesn't currently handle support for multiple family members to be supported in a single kernel image Daniel Palmer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Palmer @ 2014-04-05  5:39 UTC (permalink / raw)
  To: linux-m68k; +Cc: Daniel Palmer

Signed-off-by: Daniel Palmer <danieruru@gmail.com>
---
 arch/m68k/kernel/setup_no.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c
index 5b16f5d..88c27d9 100644
--- a/arch/m68k/kernel/setup_no.c
+++ b/arch/m68k/kernel/setup_no.c
@@ -58,17 +58,16 @@ void (*mach_halt)(void);
 void (*mach_power_off)(void);
 
 #ifdef CONFIG_M68000
-#define CPU_NAME	"MC68000"
-#endif
-#ifdef CONFIG_M68328
+#if defined(CONFIG_M68328)
 #define CPU_NAME	"MC68328"
-#endif
-#ifdef CONFIG_M68EZ328
+#elif defined(CONFIG_M68EZ328)
 #define CPU_NAME	"MC68EZ328"
-#endif
-#ifdef CONFIG_M68VZ328
+#elif defined(CONFIG_M68VZ328)
 #define CPU_NAME	"MC68VZ328"
+#else
+#define CPU_NAME	"MC68000"
 #endif
+#endif /* CONFIG_M68000 */
 #ifdef CONFIG_M68360
 #define CPU_NAME	"MC68360"
 #endif
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-08  7:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05  5:39 [PATCH 1/2] m68k: fix some compiler warnings when building for DragonBall Daniel Palmer
2014-04-05  5:39 ` [PATCH 2/2] m68k: Only allow for one member of the DragonBall family to be selected in Kconfig. The support code for these chips doesn't currently handle support for multiple family members to be supported in a single kernel image Daniel Palmer
2014-04-05  7:42 ` [PATCH 1/2] m68k: fix some compiler warnings when building for DragonBall Geert Uytterhoeven
2014-04-05  7:46   ` Daniel Palmer
2014-04-05  8:05 ` [PATCH v2 1/2] m68k: fix a compiler warning " Daniel Palmer
2014-04-08  7:13   ` Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox