summaryrefslogtreecommitdiffstats
path: root/tools/hid2hci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-08-12 13:17:11 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-08-12 13:17:11 +0000
commit750ac6d869c3b4bd94ecdb6dce9c16265326b954 (patch)
treea00c26ecfcbf9ff5cb5335349b8a60492995cae6 /tools/hid2hci.c
parentda2cf82c5b073be1bc3f3185a16722a2f5d289de (diff)
Check for usb_get_busses() and usb_interrupt_read()
Diffstat (limited to 'tools/hid2hci.c')
-rw-r--r--tools/hid2hci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hid2hci.c b/tools/hid2hci.c
index 6b2aec72..c800c7ee 100644
--- a/tools/hid2hci.c
+++ b/tools/hid2hci.c
@@ -40,8 +40,8 @@
#include <usb.h>
-#ifndef usb_get_busses
-struct usb_bus *usb_get_busses(void)
+#ifdef NEED_USB_GET_BUSSES
+static inline struct usb_bus *usb_get_busses(void)
{
return usb_busses;
}