Ignore:
File:
1 edited

Legend:

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

    r0c0f823b r267f235  
    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;
     
    193193{
    194194        printf(NAME ": HelenOS test3 virtual device driver\n");
    195         ddf_log_init(NAME, LVL_ERROR);
     195        ddf_log_init(NAME);
    196196        return ddf_driver_main(&test3_driver);
    197197}
Note: See TracChangeset for help on using the changeset viewer.