[U-Boot-Users] [PATCH] Fix show_boot_progress prototype
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sat Apr 19 17:59:20 CEST 2008
in commit fad634071 "make show_boot_progress () weak."
show_boot_progress is supposed to be declared as weak but declare as inline
instead of.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
diff --git a/include/common.h b/include/common.h
index 8630780..eeb6686 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!
--
1.5.4.5
More information about the U-Boot
mailing list