diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-20 21:15:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-20 21:15:48 +0000 |
commit | 4afee425600a5cdc22666ae37afaafdb1a6b9b2b (patch) | |
tree | e51ae5c573a2b20b5d933131eea1f69a474c80e5 /package/boot/uboot-mxs/patches/100-gcc-5-fix.patch | |
parent | 8d8ef5288cdb914ded16d9f81c85b0144fda074a (diff) | |
download | upstream-4afee425600a5cdc22666ae37afaafdb1a6b9b2b.tar.gz upstream-4afee425600a5cdc22666ae37afaafdb1a6b9b2b.tar.bz2 upstream-4afee425600a5cdc22666ae37afaafdb1a6b9b2b.zip |
uboot-mxs: fix build with gcc-5
gcc-5 handles inline without static differently and that makes
uboot-mxs fail to build. Remove the inline so it gets exported and can
be used in other functions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47533
Diffstat (limited to 'package/boot/uboot-mxs/patches/100-gcc-5-fix.patch')
-rw-r--r-- | package/boot/uboot-mxs/patches/100-gcc-5-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 index 0000000000..bec6ee72a6 --- /dev/null +++ b/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch @@ -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)); + |