Ignore:
File:
1 edited

Legend:

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

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