summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-git/omapzoom2/inline-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/u-boot/u-boot-git/omapzoom2/inline-fix.patch')
-rw-r--r--recipes/u-boot/u-boot-git/omapzoom2/inline-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/u-boot/u-boot-git/omapzoom2/inline-fix.patch b/recipes/u-boot/u-boot-git/omapzoom2/inline-fix.patch
new file mode 100644
index 0000000000..7bcfa8aec3
--- /dev/null
+++ b/recipes/u-boot/u-boot-git/omapzoom2/inline-fix.patch
@@ -0,0 +1,15 @@
+Index: git/common/cmd_voltage.c
+===================================================================
+--- git.orig/common/cmd_voltage.c
++++ git/common/cmd_voltage.c
+@@ -23,8 +23,8 @@
+ #if defined(CONFIG_CMD_VOLTAGE)
+
+ /* To use, the board should define its own voltag_info function */
+-void inline __voltage_info (void) {}
+-void inline voltage_info (void) __attribute__((weak, alias("__voltage_info")));
++void __voltage_info (void) {}
++void voltage_info (void) __attribute__((weak, alias("__voltage_info")));
+
+ int do_voltage (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+ {