Changeset e247d83 in mainline for uspace/drv/uhci-hcd/hc.h


Ignore:
Timestamp:
2011-05-23T14:04:51Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
563ead9
Parents:
8953514
Message:

Const, type-casting and other minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/hc.h

    r8953514 re247d83  
    154154 */
    155155static inline hc_t * fun_to_hc(ddf_fun_t *fun)
    156         { return (hc_t*)fun->driver_data; }
     156{
     157        assert(fun);
     158        return fun->driver_data;
     159}
    157160#endif
    158161/**
Note: See TracChangeset for help on using the changeset viewer.