Changeset f658458 in mainline for uspace/lib/libdrv/include/driver.h


Ignore:
Timestamp:
2010-05-02T20:49:09Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bb864a0
Parents:
25a7e11d
Message:

parts of generic char interface, fixed some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libdrv/include/driver.h

    r25a7e11d rf658458  
    163163{
    164164        assert(is_valid_iface_idx(idx));       
    165 
     165        if (NULL == dev->class) {
     166                return NULL;
     167        }
    166168        return dev->class->interfaces[idx];     
    167169}
Note: See TracChangeset for help on using the changeset viewer.