Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/hub.h

    r6e3c005 r67f55e7b  
    4040#include <ddf/driver.h>
    4141#include <sys/types.h>
    42 #include <errno.h>
    4342#include <usb/hc.h>
    4443
     
    6059} usb_hub_attached_device_t;
    6160
    62 int usb_hub_register_device(usb_hc_connection_t *,
     61usb_address_t usb_hc_request_address(usb_hc_connection_t *, usb_address_t,
     62    bool, usb_speed_t);
     63int usb_hc_register_device(usb_hc_connection_t *,
    6364    const usb_hub_attached_device_t *);
    64 
    65 static inline int usb_hub_unregister_device(usb_hc_connection_t *conn,
    66     const usb_hub_attached_device_t *attached_device)
    67 {
    68         assert(conn);
    69         if (attached_device == NULL)
    70                 return EBADMEM;
    71         return usb_hc_release_address(conn, attached_device->address);
    72 }
     65int usb_hc_unregister_device(usb_hc_connection_t *, usb_address_t);
    7366
    7467#endif
Note: See TracChangeset for help on using the changeset viewer.