]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/trab/trab_fkt.c
Code cleanup; make several boards compile & link.
[karo-tx-uboot.git] / board / trab / trab_fkt.c
index 4769f27c736b8ff9a652151f0c0254b898a8af8f..f51a356da4ac7b86900817699be2e0ad79dee902 100644 (file)
@@ -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
                {