Index: uspace/lib/usbdev/src/hub.c
===================================================================
--- uspace/lib/usbdev/src/hub.c	(revision 79ae36ddc409577eb0da3750b3a7280e034566a2)
+++ uspace/lib/usbdev/src/hub.c	(revision 940f576183f1b9d918845e73cdd43c21da36ee90)
@@ -95,5 +95,5 @@
  */
 int usb_hc_register_device(usb_hc_connection_t * connection,
-    const usb_hc_attached_device_t *attached_device)
+    const usb_hub_attached_device_t *attached_device)
 {
 	CHECK_CONNECTION(connection);
@@ -332,5 +332,5 @@
 	 * And now inform the host controller about the handle.
 	 */
-	usb_hc_attached_device_t new_device = {
+	usb_hub_attached_device_t new_device = {
 		.address = dev_addr,
 		.handle = child_handle
