Changeset 8013637 in mainline for uspace/lib/usbdev/src/hub.c


Ignore:
Timestamp:
2012-07-20T13:51:28Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8fccd42
Parents:
c5bff3c (diff), 7030bc9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

More mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/hub.c

    rc5bff3c r8013637  
    3333 * Functions needed by hub drivers.
    3434 */
     35
    3536#include <usb/dev/hub.h>
    3637#include <usb/dev/pipes.h>
     
    114115        return EOK;
    115116}
    116 
    117117
    118118/** Wrapper for registering attached device to the hub.
     
    160160    ddf_dev_ops_t *dev_ops, void *new_dev_data, ddf_fun_t **new_fun)
    161161{
    162         if (new_fun == NULL || hc_conn == NULL)
     162        if ((new_fun == NULL) || (hc_conn == NULL))
    163163                return EINVAL;
    164164
Note: See TracChangeset for help on using the changeset viewer.