Changeset 6843a9c in mainline for uspace/drv/test/test1/test1.c


Ignore:
Timestamp:
2012-06-29T13:02:14Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
722912e
Parents:
ba72f2b (diff), 0bbd13e (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

Trivial conflicts.

File:
1 edited

Legend:

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

    rba72f2b r6843a9c  
    4040#include "test1.h"
    4141
    42 static int test1_add_device(ddf_dev_t *dev);
     42static int test1_dev_add(ddf_dev_t *dev);
    4343static int test1_dev_remove(ddf_dev_t *dev);
    4444static int test1_dev_gone(ddf_dev_t *dev);
     
    4747
    4848static driver_ops_t driver_ops = {
    49         .add_device = &test1_add_device,
     49        .dev_add = &test1_dev_add,
    5050        .dev_remove = &test1_dev_remove,
    5151        .dev_gone = &test1_dev_gone,
     
    141141 * @return Error code reporting success of the operation.
    142142 */
    143 static int test1_add_device(ddf_dev_t *dev)
     143static int test1_dev_add(ddf_dev_t *dev)
    144144{
    145145        ddf_fun_t *fun_a;
     
    147147        int rc;
    148148
    149         ddf_msg(LVL_DEBUG, "add_device(name=\"%s\", handle=%d)",
     149        ddf_msg(LVL_DEBUG, "dev_add(name=\"%s\", handle=%d)",
    150150            dev->name, (int) dev->handle);
    151151
Note: See TracChangeset for help on using the changeset viewer.