Changes in uspace/drv/infrastructure/root/root.c [ef9460b:deac215e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/root/root.c
ref9460b rdeac215e 67 67 68 68 static int root_add_device(ddf_dev_t *dev); 69 static int root_fun_online(ddf_fun_t *fun); 70 static int root_fun_offline(ddf_fun_t *fun); 69 71 70 72 /** The root device driver's standard operations. */ 71 73 static driver_ops_t root_ops = { 72 .add_device = &root_add_device 74 .add_device = &root_add_device, 75 .fun_online = &root_fun_online, 76 .fun_offline = &root_fun_offline 73 77 }; 74 78 … … 214 218 } 215 219 220 static int root_fun_online(ddf_fun_t *fun) 221 { 222 ddf_msg(LVL_DEBUG, "root_fun_online()"); 223 return ddf_fun_online(fun); 224 } 225 226 static int root_fun_offline(ddf_fun_t *fun) 227 { 228 ddf_msg(LVL_DEBUG, "root_fun_offline()"); 229 return ddf_fun_offline(fun); 230 } 231 216 232 int main(int argc, char *argv[]) 217 233 {
Note:
See TracChangeset
for help on using the changeset viewer.