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