]> git.sur5r.net Git - u-boot/blobdiff - board/ml2/serial.c
sh: Cleanup source code of MS7720SE
[u-boot] / board / ml2 / serial.c
index 74687f12c63ba69c20ebcf42d2384dc1aa2ac058..c18815bf88a38bbbe5e95334ed0921afced90e35 100644 (file)
@@ -19,9 +19,9 @@
  *
  */
 
+#include <common.h>
 #include <asm/u-boot.h>
 #include <asm/processor.h>
-#include <common.h>
 #include <command.h>
 #include <configs/ML2.h>
 
@@ -88,7 +88,7 @@ void serial_puts (const char *s)
        }
 }
 
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
 void kgdb_serial_init (void)
 {
 }
@@ -112,4 +112,4 @@ void kgdb_interruptible (int yes)
 {
        return;
 }
-#endif /* CFG_CMD_KGDB */
+#endif