Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/root/root.c

    rdeac215e ref9460b  
    6767
    6868static 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);
    7169
    7270/** The root device driver's standard operations. */
    7371static driver_ops_t root_ops = {
    74         .add_device = &root_add_device,
    75         .fun_online = &root_fun_online,
    76         .fun_offline = &root_fun_offline
     72        .add_device = &root_add_device
    7773};
    7874
     
    218214}
    219215
    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 
    232216int main(int argc, char *argv[])
    233217{
Note: See TracChangeset for help on using the changeset viewer.