aboutsummaryrefslogtreecommitdiffstats
path: root/packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch')
-rw-r--r--packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch b/packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch
new file mode 100644
index 0000000000..b1ee510e8b
--- /dev/null
+++ b/packages/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch
@@ -0,0 +1,13 @@
+Index: bluez-4.27/tools/dfutool.c
+===================================================================
+--- bluez-4.27.orig/tools/dfutool.c
++++ bluez-4.27/tools/dfutool.c
+@@ -59,7 +59,7 @@
+ #endif
+
+ #ifdef NEED_USB_GET_BUSSES
+-static inline struct usb_bus *usb_get_busses(void)
++inline struct usb_bus *usb_get_busses(void)
+ {
+ return usb_busses;
+ }