uboot-mxs: fix build with gcc-5
[openwrt/staging/wigyori.git] / package / boot / uboot-mxs / patches / 100-gcc-5-fix.patch
1 --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c
2 +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c
3 @@ -24,7 +24,7 @@
4 DECLARE_GLOBAL_DATA_PTR;
5
6 /* Lowlevel init isn't used on i.MX28, so just have a dummy here */
7 -inline void lowlevel_init(void) {}
8 +void lowlevel_init(void) {}
9
10 void reset_cpu(ulong ignored) __attribute__((noreturn));
11