Преглед на файлове

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>
Jean-Christophe PLAGNIOL-VILLARD преди 17 години
родител
ревизия
2ef1d9b603
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      include/common.h

+ 1 - 1
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!