]> git.sur5r.net Git - u-boot/blobdiff - board/trab/trab_fkt.c
Code cleanup for GCC-3.3.x compilers
[u-boot] / board / trab / trab_fkt.c
index 4769f27c736b8ff9a652151f0c0254b898a8af8f..abb3b29c8c98f6c178bcc6e0e80156de1c5c48c1 100644 (file)
@@ -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
@@ -890,7 +890,7 @@ int do_touch (char **argv)
        int     x, y;
 
        if (strcmp (argv[2], "tl") == 0) {
-#if CONFIG_TOUCH_WAIT_PRESSED
+#ifdef CONFIG_TOUCH_WAIT_PRESSED
                touch_wait_pressed();
 #else
                {
@@ -915,7 +915,7 @@ int do_touch (char **argv)
                return touch_write_clibration_values (CALIB_TL, x, y);
        }
        else if (strcmp (argv[2], "dr") == 0) {
-#if CONFIG_TOUCH_WAIT_PRESSED
+#ifdef CONFIG_TOUCH_WAIT_PRESSED
                touch_wait_pressed();
 #else
                {