imx28: Fix issue with GCC 5.x
authorMåns Rullgård <mans@mansr.com>
Tue, 28 Jul 2015 13:39:49 +0000 (14:39 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:55 +0000 (20:47 -0400)
commite86c95305912c77bacdae683a88edb20012cc271
tree90a5ab65d8aca86c6394615ba92eb3f8dbf96b49
parentfe772ebd285b4c442a2406419c49a4c7e829d83a
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 <otavio@ossystems.com.br>
Tested-by: Otavio Salvador <otavio@ossystems.com.br>
[trini: Reword commit message]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/arm926ejs/mxs/mxs.c