uboot-mxs: fix build with gcc-5
[openwrt/.git] / package / boot / uboot-mxs / patches / 100-gcc-5-fix.patch
diff --git a/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch b/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch
new file mode 100644 (file)
index 0000000..bec6ee7
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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));