From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Date: Sat, 19 Apr 2008 15:59:20 +0000 (+0200)
Subject: Fix show_boot_progress prototype
X-Git-Tag: v2025.01-rc5-pxa1908~22235
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=2ef1d9b6030d02f576b1bcd9fec948e602522012;p=u-boot.git

Fix show_boot_progress prototype

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>
---

diff --git a/include/common.h b/include/common.h
index 11b7d31c45..fa1d0528e1 100644
--- a/include/common.h
+++ b/include/common.h
@@ -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!