Changeset 1d5a540 in mainline for uspace/drv/test/test3/test3.c


Ignore:
Timestamp:
2012-08-17T11:52:20Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
034c4202
Parents:
8312577 (diff), 56fd7cf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge DDF interface tightening.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/test/test3/test3.c

    r8312577 r1d5a540  
    133133
    134134        ddf_msg(LVL_DEBUG, "dev_add(name=\"%s\", handle=%d)",
    135             dev->name, (int) dev->handle);
     135            ddf_dev_get_name(dev), (int) ddf_dev_get_handle(dev));
    136136
    137137        test3 = ddf_dev_data_alloc(dev, sizeof(test3_t));
     
    155155static int test3_dev_remove(ddf_dev_t *dev)
    156156{
    157         test3_t *test3 = (test3_t *)dev->driver_data;
     157        test3_t *test3 = (test3_t *)ddf_dev_data_get(dev);
    158158        char *fun_name;
    159159        int rc;
Note: See TracChangeset for help on using the changeset viewer.