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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:19:12 +0000 (10:19 +0200)
commitd1b8c7a8b72fefa7d67dc42fbd20a9de147d8907
tree2ca081beeb67eee608f69280f50a92f46bc19c08
parent0fbd55a8680dc68c398f6d52fcdfdf3e8cafe2dc
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