From: Wolfgang Denk Date: Wed, 9 Aug 2006 23:58:22 +0000 (+0200) Subject: Fix compiler warning for TRAB board. X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a3d9181e00cca80287d7243c4c1dcf981c2969d3;p=u-boot.git Fix compiler warning for TRAB board. Patch by Martin Krause, 07 Aug 2006 --- diff --git a/CHANGELOG b/CHANGELOG index e39b1e7510..be5cb68d3a 100644 --- 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. diff --git a/board/trab/trab.c b/board/trab/trab.c index 26e52d29e8..d8a726b226 100644 --- a/board/trab/trab.c +++ b/board/trab/trab.c @@ -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) {