summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez/bluez4-4.82/fix-dfutool-usb-declaration-mismatch.patch
blob: 91c802bc41ea22750ed6c49b89da5b38625507d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# bluez4: add compile patch fixing some usb declaration mismatch
# Author: Michael 'Mickey' Lauer <mickey@vanille-media.de>
# Date:   Thu Jan 29 16:52:21 2009 +0000
#
# Acquired from OpenEmbedded

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;
 }