Changes in uspace/drv/char/msim-con/main.c [b7fd2a0:7de5f12] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/msim-con/main.c
rb7fd2a0 r7de5f12 43 43 #define NAME "msim-con" 44 44 45 static errno_t msim_con_dev_add(ddf_dev_t *dev);46 static errno_t msim_con_dev_remove(ddf_dev_t *dev);47 static errno_t msim_con_dev_gone(ddf_dev_t *dev);48 static errno_t msim_con_fun_online(ddf_fun_t *fun);49 static errno_t msim_con_fun_offline(ddf_fun_t *fun);45 static int msim_con_dev_add(ddf_dev_t *dev); 46 static int msim_con_dev_remove(ddf_dev_t *dev); 47 static int msim_con_dev_gone(ddf_dev_t *dev); 48 static int msim_con_fun_online(ddf_fun_t *fun); 49 static int msim_con_fun_offline(ddf_fun_t *fun); 50 50 51 51 static driver_ops_t driver_ops = { … … 62 62 }; 63 63 64 static errno_t msim_con_get_res(ddf_dev_t *dev, msim_con_res_t *res)64 static int msim_con_get_res(ddf_dev_t *dev, msim_con_res_t *res) 65 65 { 66 66 async_sess_t *parent_sess; 67 67 hw_res_list_parsed_t hw_res; 68 errno_t rc;68 int rc; 69 69 70 70 parent_sess = ddf_dev_parent_sess_get(dev); … … 97 97 } 98 98 99 static errno_t msim_con_dev_add(ddf_dev_t *dev)99 static int msim_con_dev_add(ddf_dev_t *dev) 100 100 { 101 101 msim_con_t *msim_con; 102 102 msim_con_res_t res; 103 errno_t rc;103 int rc; 104 104 105 105 ddf_msg(LVL_DEBUG, "msim_con_dev_add(%p)", dev); … … 122 122 } 123 123 124 static errno_t msim_con_dev_remove(ddf_dev_t *dev)124 static int msim_con_dev_remove(ddf_dev_t *dev) 125 125 { 126 126 msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev); … … 131 131 } 132 132 133 static errno_t msim_con_dev_gone(ddf_dev_t *dev)133 static int msim_con_dev_gone(ddf_dev_t *dev) 134 134 { 135 135 msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev); … … 140 140 } 141 141 142 static errno_t msim_con_fun_online(ddf_fun_t *fun)142 static int msim_con_fun_online(ddf_fun_t *fun) 143 143 { 144 144 ddf_msg(LVL_DEBUG, "msim_con_fun_online()"); … … 146 146 } 147 147 148 static errno_t msim_con_fun_offline(ddf_fun_t *fun)148 static int msim_con_fun_offline(ddf_fun_t *fun) 149 149 { 150 150 ddf_msg(LVL_DEBUG, "msim_con_fun_offline()");
Note:
See TracChangeset
for help on using the changeset viewer.