diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-26 19:53:16 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-18 17:53:23 -0400 |
commit | cc64b92cdee921536a00e66568fd36cff3d35420 (patch) | |
tree | da908213984fe920baa75e8efea738c19dcacd3e /common/splash.c | |
parent | fd536d818d9bb9138ca74dedf187b8086eb08a24 (diff) | |
download | u-boot-cc64b92cdee921536a00e66568fd36cff3d35420.tar.gz u-boot-cc64b92cdee921536a00e66568fd36cff3d35420.tar.bz2 u-boot-cc64b92cdee921536a00e66568fd36cff3d35420.zip |
common:splash: use __weak
This not only looks a bit better it also prevents a
warning with W=1 (no previous prototype).
cc: agust@denx.de
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/splash.c')
-rw-r--r-- | common/splash.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/splash.c b/common/splash.c index 18885f1bfe..144fb10ddd 100644 --- a/common/splash.c +++ b/common/splash.c @@ -23,15 +23,11 @@ #include <common.h> #include <splash.h> -int __splash_screen_prepare(void) +__weak int splash_screen_prepare(void) { return 0; } -int splash_screen_prepare(void) - __attribute__ ((weak, alias("__splash_screen_prepare"))); - - #ifdef CONFIG_SPLASH_SCREEN_ALIGN void splash_get_pos(int *x, int *y) { |