Ignore:
Timestamp:
2012-12-22T23:34:36Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
db8b7ca
Parents:
3c4663e
Message:

libusbhost: Remove fun_to_hcd helper.

Use dev_to_hcd instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/hcd.h

    r3c4663e rd8cdf39e  
    8787    usbhc_iface_transfer_out_callback_t out, void *arg, const char* name);
    8888
    89 /** Data retrieve wrapper.
    90  * @param fun ddf function, non-null.
    91  * @return pointer cast to hcd_t*.
    92  */
    93 static inline hcd_t *fun_to_hcd(ddf_fun_t *fun)
    94 {
    95         return ddf_fun_data_get(fun);
    96 }
    97 
    98 
    9989#endif
    100 
    10190/**
    10291 * @}
Note: See TracChangeset for help on using the changeset viewer.