Changes in uspace/drv/char/ski-con/main.c [6d15572:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ski-con/main.c
r6d15572 rb7fd2a0 42 42 #define NAME "ski-con" 43 43 44 static int ski_con_dev_add(ddf_dev_t *dev);45 static int ski_con_dev_remove(ddf_dev_t *dev);46 static int ski_con_dev_gone(ddf_dev_t *dev);47 static int ski_con_fun_online(ddf_fun_t *fun);48 static int ski_con_fun_offline(ddf_fun_t *fun);44 static errno_t ski_con_dev_add(ddf_dev_t *dev); 45 static errno_t ski_con_dev_remove(ddf_dev_t *dev); 46 static errno_t ski_con_dev_gone(ddf_dev_t *dev); 47 static errno_t ski_con_fun_online(ddf_fun_t *fun); 48 static errno_t ski_con_fun_offline(ddf_fun_t *fun); 49 49 50 50 static driver_ops_t driver_ops = { … … 61 61 }; 62 62 63 static int ski_con_dev_add(ddf_dev_t *dev)63 static errno_t ski_con_dev_add(ddf_dev_t *dev) 64 64 { 65 65 ski_con_t *ski_con; … … 77 77 } 78 78 79 static int ski_con_dev_remove(ddf_dev_t *dev)79 static errno_t ski_con_dev_remove(ddf_dev_t *dev) 80 80 { 81 81 ski_con_t *ski_con = (ski_con_t *)ddf_dev_data_get(dev); … … 86 86 } 87 87 88 static int ski_con_dev_gone(ddf_dev_t *dev)88 static errno_t ski_con_dev_gone(ddf_dev_t *dev) 89 89 { 90 90 ski_con_t *ski_con = (ski_con_t *)ddf_dev_data_get(dev); … … 95 95 } 96 96 97 static int ski_con_fun_online(ddf_fun_t *fun)97 static errno_t ski_con_fun_online(ddf_fun_t *fun) 98 98 { 99 99 ddf_msg(LVL_DEBUG, "ski_con_fun_online()"); … … 101 101 } 102 102 103 static int ski_con_fun_offline(ddf_fun_t *fun)103 static errno_t ski_con_fun_offline(ddf_fun_t *fun) 104 104 { 105 105 ddf_msg(LVL_DEBUG, "ski_con_fun_offline()");
Note:
See TracChangeset
for help on using the changeset viewer.