Changeset 1433ecda in mainline for uspace/drv/intctl/icp-ic
- Timestamp:
- 2018-04-04T15:42:37Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
-
uspace/drv/intctl/icp-ic/main.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/intctl/icp-ic/main.c
r47b2d7e3 r1433ecda 96 96 errno_t rc; 97 97 98 ddf_msg(LVL_DEBUG, "icpic_dev_add(%p)", dev);98 ddf_msg(LVL_DEBUG, "icpic_dev_add(%p)", dev); 99 99 icpic = ddf_dev_data_alloc(dev, sizeof(icpic_t)); 100 100 if (icpic == NULL) { … … 116 116 static errno_t icpic_dev_remove(ddf_dev_t *dev) 117 117 { 118 icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev);118 icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev); 119 119 120 ddf_msg(LVL_DEBUG, "icpic_dev_remove(%p)", dev);120 ddf_msg(LVL_DEBUG, "icpic_dev_remove(%p)", dev); 121 121 122 return icpic_remove(icpic);122 return icpic_remove(icpic); 123 123 } 124 124 125 125 static errno_t icpic_dev_gone(ddf_dev_t *dev) 126 126 { 127 icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev);127 icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev); 128 128 129 ddf_msg(LVL_DEBUG, "icpic_dev_gone(%p)", dev);129 ddf_msg(LVL_DEBUG, "icpic_dev_gone(%p)", dev); 130 130 131 return icpic_gone(icpic);131 return icpic_gone(icpic); 132 132 } 133 133 134 134 static errno_t icpic_fun_online(ddf_fun_t *fun) 135 135 { 136 ddf_msg(LVL_DEBUG, "icpic_fun_online()");137 return ddf_fun_online(fun);136 ddf_msg(LVL_DEBUG, "icpic_fun_online()"); 137 return ddf_fun_online(fun); 138 138 } 139 139 140 140 static errno_t icpic_fun_offline(ddf_fun_t *fun) 141 141 { 142 ddf_msg(LVL_DEBUG, "icpic_fun_offline()");143 return ddf_fun_offline(fun);142 ddf_msg(LVL_DEBUG, "icpic_fun_offline()"); 143 return ddf_fun_offline(fun); 144 144 } 145 145
Note:
See TracChangeset
for help on using the changeset viewer.
