summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorRon Lee <ron@debian.org>2009-08-05 20:14:01 +0200
committerTom Rix <Tom.Rix@windriver.com>2009-11-11 08:41:01 -0600
commitf865fcbbb35851e75fee9c3a3fa8e0f71d9e6463 (patch)
treeef3ca349031d26abaeb502e79546672a8ef2ef49 /lib_arm
parent0f365273a6c210e0d82f6dca3994be5283e6bf82 (diff)
downloadu-boot-imx-f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463.zip
u-boot-imx-f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463.tar.gz
u-boot-imx-f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463.tar.bz2
ARM Don't inline weak symbols
------------------------------------------------------------------------ GCC 4.4 complains about this now. Signed-off-by: Ron Lee <ron@debian.org>
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 5e3d7f6..e148739 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -93,23 +93,23 @@ extern void rtl8019_get_enetaddr (uchar * addr);
* May be supplied by boards if desired
*/
void inline __coloured_LED_init (void) {}
-void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
+void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
void inline __red_LED_on (void) {}
-void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
+void red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
void inline __red_LED_off(void) {}
-void inline red_LED_off(void) __attribute__((weak, alias("__red_LED_off")));
+void red_LED_off(void) __attribute__((weak, alias("__red_LED_off")));
void inline __green_LED_on(void) {}
-void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
+void green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
void inline __green_LED_off(void) {}
-void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off")));
+void green_LED_off(void) __attribute__((weak, alias("__green_LED_off")));
void inline __yellow_LED_on(void) {}
-void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
+void yellow_LED_on(void) __attribute__((weak, alias("__yellow_LED_on")));
void inline __yellow_LED_off(void) {}
-void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
+void yellow_LED_off(void) __attribute__((weak, alias("__yellow_LED_off")));
void inline __blue_LED_on(void) {}
-void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
+void blue_LED_on(void) __attribute__((weak, alias("__blue_LED_on")));
void inline __blue_LED_off(void) {}
-void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
+void blue_LED_off(void) __attribute__((weak, alias("__blue_LED_off")));
/************************************************************************
* Init Utilities *