Changes in uspace/drv/test/test3/test3.c [56fd7cf:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test/test3/test3.c
r56fd7cf r9d58539 133 133 134 134 ddf_msg(LVL_DEBUG, "dev_add(name=\"%s\", handle=%d)", 135 d df_dev_get_name(dev), (int) ddf_dev_get_handle(dev));135 dev->name, (int) dev->handle); 136 136 137 137 test3 = ddf_dev_data_alloc(dev, sizeof(test3_t)); … … 155 155 static int test3_dev_remove(ddf_dev_t *dev) 156 156 { 157 test3_t *test3 = (test3_t *)d df_dev_data_get(dev);157 test3_t *test3 = (test3_t *)dev->driver_data; 158 158 char *fun_name; 159 159 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.