aboutsummaryrefslogtreecommitdiff
path: root/board/trab
diff options
context:
space:
mode:
authorwdenk2004-10-17 21:12:06 +0000
committerwdenk2004-10-17 21:12:06 +0000
commite86e5a07485bc0f33103004594a28882c028e7af (patch)
treeb3f2496049f2e8f82676372d840bc10bf077de44 /board/trab
parent8b74bf31fe57edfc502f94e905977304eac943ca (diff)
Code cleanup for GCC-3.3.x compilers
Diffstat (limited to 'board/trab')
-rw-r--r--board/trab/cmd_trab.c1
-rw-r--r--board/trab/flash.c2
-rw-r--r--board/trab/memory.c2
-rw-r--r--board/trab/trab_fkt.c2
4 files changed, 4 insertions, 3 deletions
diff --git a/board/trab/cmd_trab.c b/board/trab/cmd_trab.c
index 509e071f4de..794c5271869 100644
--- a/board/trab/cmd_trab.c
+++ b/board/trab/cmd_trab.c
@@ -718,6 +718,7 @@ static void led_set (unsigned int state)
gpio->PADAT &= ~(1 << 12);
break;
default:
+ break;
}
}
diff --git a/board/trab/flash.c b/board/trab/flash.c
index 2cccee64752..b4435e390f4 100644
--- a/board/trab/flash.c
+++ b/board/trab/flash.c
@@ -166,7 +166,7 @@ void flash_print_info (flash_info_t * info)
}
printf ("\n");
- Done:
+Done: ;
}
/*-----------------------------------------------------------------------
diff --git a/board/trab/memory.c b/board/trab/memory.c
index 97cb0f89a49..91044130988 100644
--- a/board/trab/memory.c
+++ b/board/trab/memory.c
@@ -479,7 +479,7 @@ int memory_post_test (int flags)
return ret;
}
-#endif 0
+#endif /* 0 */
/* #endif */ /* CONFIG_POST & CFG_POST_MEMORY */
/* #endif */ /* CONFIG_POST */
diff --git a/board/trab/trab_fkt.c b/board/trab/trab_fkt.c
index f51a356da4a..abb3b29c8c9 100644
--- a/board/trab/trab_fkt.c
+++ b/board/trab/trab_fkt.c
@@ -35,7 +35,7 @@
* command do_touch is invoked and the touch is not pressed within an specific
* interval.
*/
-#undef CONFIG_TOUCH_WAIT_PRESSED 1
+#undef CONFIG_TOUCH_WAIT_PRESSED
/* max time to wait for touch is pressed */
#ifndef CONFIG_TOUCH_WAIT_PRESSED