]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix show_boot_progress prototype
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 19 Apr 2008 15:59:20 +0000 (17:59 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 24 Apr 2008 21:22:52 +0000 (23:22 +0200)
in commit fad634071 "make show_boot_progress () weak."
show_boot_progress is supposed to be declared as weak but declared as
inline instead.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
include/common.h

index 11b7d31c45ce89a794624b4111fac1338838732b..fa1d0528e1e7270cfdb0ddca87c398e0ad87173c 100644 (file)
@@ -661,7 +661,7 @@ int pcmcia_init (void);
 /*
  * Board-specific Platform code can reimplement show_boot_progress () if needed
  */
-void inline show_boot_progress (int val);
+void __attribute__((weak)) show_boot_progress (int val);
 
 #ifdef CONFIG_INIT_CRITICAL
 #error CONFIG_INIT_CRITICAL is deprecated!