]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix compiler warning for TRAB board.
authorWolfgang Denk <wd@pollux.denx.de>
Wed, 9 Aug 2006 23:58:22 +0000 (01:58 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Wed, 9 Aug 2006 23:58:22 +0000 (01:58 +0200)
Patch by Martin Krause, 07 Aug 2006

CHANGELOG
board/trab/trab.c

index e39b1e7510e73f19ef80a5862d10f2cec52fa868..be5cb68d3af08f32f6913b515d74af4cba390ab1 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Fix compiler warning for TRAB board.
+  Patch by Martin Krause, 07 Aug 2006
+
 * Prevent USB commands from working when USB is stopped.
 
 * Add rudimentary handling of alternate settings of USB interfaces.
index 26e52d29e879b0c96a6c9ec359631733d62a4757..d8a726b226fd62a61f52658e7d10c9c38fe62166 100644 (file)
@@ -175,9 +175,11 @@ int misc_init_r (void)
 #endif /* CONFIG_VERSION_VARIABLE */
 
 #ifdef CONFIG_AUTO_UPDATE
-       extern int do_auto_update(void);
-       /* this has priority over all else */
-       do_auto_update();
+       {
+               extern int do_auto_update(void);
+               /* this has priority over all else */
+               do_auto_update();
+       }
 #endif
 
        for (i = 0; i < KEYBD_KEY_NUM; ++i) {