summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-08-10 01:58:22 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-08-10 01:58:22 +0200
commita3d9181e00cca80287d7243c4c1dcf981c2969d3 (patch)
treeafaf813fc2d1cd75fbf08e149da3fc22ab51556a /board
parent6587f7e1e98bfcb7910a47bae2eb51e9a5fbd4da (diff)
downloadu-boot-imx-a3d9181e00cca80287d7243c4c1dcf981c2969d3.zip
u-boot-imx-a3d9181e00cca80287d7243c4c1dcf981c2969d3.tar.gz
u-boot-imx-a3d9181e00cca80287d7243c4c1dcf981c2969d3.tar.bz2
Fix compiler warning for TRAB board.
Patch by Martin Krause, 07 Aug 2006
Diffstat (limited to 'board')
-rw-r--r--board/trab/trab.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/board/trab/trab.c b/board/trab/trab.c
index 26e52d2..d8a726b 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) {