diff options
| author | Måns Rullgård <[email protected]> | 2015-07-28 14:39:49 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-08-12 20:47:55 -0400 |
| commit | e86c95305912c77bacdae683a88edb20012cc271 (patch) | |
| tree | 90a5ab65d8aca86c6394615ba92eb3f8dbf96b49 | |
| parent | fe772ebd285b4c442a2406419c49a4c7e829d83a (diff) | |
imx28: Fix issue with GCC 5.x
The semantics for non-static functions declared inline have changed in
gcc5, causing the empty functions not to be emitted as an external
symbol.
Since lowlevel_init() is only referenced from start.S, it should not be
declared inline at all.
Reported-by: Otavio Salvador <[email protected]>
Tested-by: Otavio Salvador <[email protected]>
[trini: Reword commit message]
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | arch/arm/cpu/arm926ejs/mxs/mxs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c index ef130aea426..b1d8721213d 100644 --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c @@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR; /* Lowlevel init isn't used on i.MX28, so just have a dummy here */ -inline void lowlevel_init(void) {} +void lowlevel_init(void) {} void reset_cpu(ulong ignored) __attribute__((noreturn)); |
