Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2012-08-17T11:37:03Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
1d5a540
Parents:
be2a38ad
Message:

Make ddf_dev_t and ddf_fun_t opaque. This further tighthens the DDF interface.

File:
1 edited

Legend:

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

    rbe2a38ad r56fd7cf  
    9898 * @return pointer cast to hcd_t*.
    9999 */
    100 static inline hcd_t * fun_to_hcd(const ddf_fun_t *fun)
     100static inline hcd_t *fun_to_hcd(ddf_fun_t *fun)
    101101{
    102         assert(fun);
    103         return fun->driver_data;
     102        return ddf_fun_data_get(fun);
    104103}
    105104
Note: See TracChangeset for help on using the changeset viewer.