Ignore:
Timestamp:
2011-09-04T11:30:58Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
03bc76a
Parents:
d2c67e7 (diff), deac215e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 moved

Legend:

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

    rd2c67e7 r8ff0bd2  
    6767
    6868static int root_add_device(ddf_dev_t *dev);
     69static int root_fun_online(ddf_fun_t *fun);
     70static int root_fun_offline(ddf_fun_t *fun);
    6971
    7072/** The root device driver's standard operations. */
    7173static 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
    7377};
    7478
     
    175179                return rc;
    176180        }
     181
     182        free(match_id);
    177183
    178184        rc = ddf_fun_bind(fun);
     
    212218}
    213219
     220static 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
     226static 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
    214232int main(int argc, char *argv[])
    215233{
Note: See TracChangeset for help on using the changeset viewer.