Changes in uspace/drv/test/test3/test3.c [267f235:0c0f823b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test/test3/test3.c
r267f235 r0c0f823b 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; … … 193 193 { 194 194 printf(NAME ": HelenOS test3 virtual device driver\n"); 195 ddf_log_init(NAME );195 ddf_log_init(NAME, LVL_ERROR); 196 196 return ddf_driver_main(&test3_driver); 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.