Changes in uspace/drv/test/test2/test2.c [80a96d2:0c0f823b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test/test2/test2.c
r80a96d2 r0c0f823b 40 40 #define NAME "test2" 41 41 42 static int test2_ add_device(ddf_dev_t *dev);42 static int test2_dev_add(ddf_dev_t *dev); 43 43 static int test2_dev_remove(ddf_dev_t *dev); 44 44 static int test2_dev_gone(ddf_dev_t *dev); … … 47 47 48 48 static driver_ops_t driver_ops = { 49 . add_device = &test2_add_device,49 .dev_add = &test2_dev_add, 50 50 .dev_remove = &test2_dev_remove, 51 51 .dev_gone = &test2_dev_gone, … … 193 193 } 194 194 195 static int test2_ add_device(ddf_dev_t *dev)195 static int test2_dev_add(ddf_dev_t *dev) 196 196 { 197 197 test2_t *test2; 198 198 199 ddf_msg(LVL_DEBUG, "test2_ add_device(name=\"%s\", handle=%d)",199 ddf_msg(LVL_DEBUG, "test2_dev_add(name=\"%s\", handle=%d)", 200 200 dev->name, (int) dev->handle); 201 201
Note:
See TracChangeset
for help on using the changeset viewer.