Changeset 193da9d6 in mainline for uspace/drv/bus/usb/usbhub/ports.h


Ignore:
Timestamp:
2011-09-19T14:15:55Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a05ced0
Parents:
34a0d17
Message:

usbhub: Rename usbhub_private.h ⇒ utils.h.

Add error checks, comments, and slight refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/ports.h

    r34a0d17 r193da9d6  
    6262 * @param port Port to be initialized.
    6363 */
    64 static inline void usb_hub_port_init(usb_hub_port_t *port) {
     64static inline void usb_hub_port_init(usb_hub_port_t *port)
     65{
     66        assert(port);
    6567        port->attached_device.address = -1;
    6668        port->attached_device.handle = 0;
Note: See TracChangeset for help on using the changeset viewer.