Changes in uspace/drv/test/test3/test3.c [0c0f823b:267f235] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test/test3/test3.c
r0c0f823b r267f235 133 133 134 134 ddf_msg(LVL_DEBUG, "dev_add(name=\"%s\", handle=%d)", 135 d ev->name, (int) dev->handle);135 ddf_dev_get_name(dev), (int) ddf_dev_get_handle(dev)); 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 ev->driver_data;157 test3_t *test3 = (test3_t *)ddf_dev_data_get(dev); 158 158 char *fun_name; 159 159 int rc; … … 193 193 { 194 194 printf(NAME ": HelenOS test3 virtual device driver\n"); 195 ddf_log_init(NAME , LVL_ERROR);195 ddf_log_init(NAME); 196 196 return ddf_driver_main(&test3_driver); 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.