Changeset 903bac0a in mainline for uspace/drv/test/test3/test3.c


Ignore:
Timestamp:
2011-08-19T09:00:38Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2ab36f1
Parents:
d894fbd (diff), 42a619b (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 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/test/test3/test3.c

    rd894fbd r903bac0a  
    5050};
    5151
    52 static int register_fun_and_add_to_class(ddf_dev_t *parent,
     52static int register_fun_and_add_to_category(ddf_dev_t *parent,
    5353     const char *base_name, size_t index, const char *class_name)
    5454{
     
    7777        }
    7878       
    79         ddf_fun_add_to_class(fun, class_name);
     79        ddf_fun_add_to_category(fun, class_name);
    8080
    8181        ddf_msg(LVL_NOTE, "Registered exposed function `%s'.", fun_name);
     
    100100        size_t i;
    101101        for (i = 0; i < 20; i++) {
    102                 rc = register_fun_and_add_to_class(dev,
     102                rc = register_fun_and_add_to_category(dev,
    103103                    "test3_", i, "test3");
    104104                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.