Index: uspace/lib/usbhost/include/usb/host/bus.h
===================================================================
--- uspace/lib/usbhost/include/usb/host/bus.h	(revision 9848c770a5d230b87ec6a67839bdefc5a227e495)
+++ uspace/lib/usbhost/include/usb/host/bus.h	(revision 17c1d9dbfddf40b2e8f215081df252437534ca5f)
@@ -76,5 +76,5 @@
 	usb_speed_t speed;
 	usb_address_t address;
-	endpoint_t *endpoints [USB_ENDPOINT_MAX];
+	endpoint_t *endpoints [2 * USB_ENDPOINT_MAX];
 
 	/* Managing bus */
@@ -163,5 +163,5 @@
 
 int bus_endpoint_add(device_t *, const usb_endpoint_descriptors_t *, endpoint_t **);
-endpoint_t *bus_find_endpoint(device_t *, usb_endpoint_t);
+endpoint_t *bus_find_endpoint(device_t *, usb_endpoint_t, usb_direction_t);
 int bus_endpoint_remove(endpoint_t *);
 
