Fix compiler warning for TRAB board.

Patch by Martin Krause, 07 Aug 2006
This commit is contained in:
Wolfgang Denk 2006-08-10 01:58:22 +02:00
parent 6587f7e1e9
commit a3d9181e00
2 changed files with 8 additions and 3 deletions

View File

@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: 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. * Prevent USB commands from working when USB is stopped.
* Add rudimentary handling of alternate settings of USB interfaces. * Add rudimentary handling of alternate settings of USB interfaces.

View File

@ -175,9 +175,11 @@ int misc_init_r (void)
#endif /* CONFIG_VERSION_VARIABLE */ #endif /* CONFIG_VERSION_VARIABLE */
#ifdef CONFIG_AUTO_UPDATE #ifdef CONFIG_AUTO_UPDATE
extern int do_auto_update(void); {
/* this has priority over all else */ extern int do_auto_update(void);
do_auto_update(); /* this has priority over all else */
do_auto_update();
}
#endif #endif
for (i = 0; i < KEYBD_KEY_NUM; ++i) { for (i = 0; i < KEYBD_KEY_NUM; ++i) {