Changeset 6843a9c in mainline for uspace/drv/test/test3/test3.c
- Timestamp:
- 2012-06-29T13:02:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 722912e
- Parents:
- ba72f2b (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test/test3/test3.c
rba72f2b r6843a9c 41 41 #define NUM_FUNCS 20 42 42 43 static int test3_ add_device(ddf_dev_t *dev);43 static int test3_dev_add(ddf_dev_t *dev); 44 44 static int test3_dev_remove(ddf_dev_t *dev); 45 45 static int test3_fun_online(ddf_fun_t *fun); … … 47 47 48 48 static driver_ops_t driver_ops = { 49 . add_device = &test3_add_device,49 .dev_add = &test3_dev_add, 50 50 .dev_remove = &test3_dev_remove, 51 51 .fun_online = &test3_fun_online, … … 127 127 } 128 128 129 static int test3_ add_device(ddf_dev_t *dev)129 static int test3_dev_add(ddf_dev_t *dev) 130 130 { 131 131 int rc = EOK; 132 132 test3_t *test3; 133 133 134 ddf_msg(LVL_DEBUG, " add_device(name=\"%s\", handle=%d)",134 ddf_msg(LVL_DEBUG, "dev_add(name=\"%s\", handle=%d)", 135 135 dev->name, (int) dev->handle); 136 136
Note:
See TracChangeset
for help on using the changeset viewer.