Changeset d35ac1d in mainline for uspace/lib/drv/include/driver.h


Ignore:
Timestamp:
2011-01-09T19:52:08Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36f2b3e
Parents:
8871dba
Message:

Rename iface to ops in driver.c

File:
1 edited

Legend:

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

    r8871dba rd35ac1d  
    188188}
    189189
    190 static inline void *device_get_iface(device_t *dev, dev_inferface_idx_t idx)
     190static inline void *device_get_ops(device_t *dev, dev_inferface_idx_t idx)
    191191{
    192192        assert(is_valid_iface_idx(idx));
    193         if (NULL == dev->ops)
     193        if (dev->ops == NULL)
    194194                return NULL;
    195195        return dev->ops->interfaces[idx];
Note: See TracChangeset for help on using the changeset viewer.