From a3d9181e00cca80287d7243c4c1dcf981c2969d3 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 10 Aug 2006 01:58:22 +0200 Subject: Fix compiler warning for TRAB board. Patch by Martin Krause, 07 Aug 2006 --- board/trab/trab.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'board/trab') 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) { -- cgit v1.1