Changeset 1a4ea01d in mainline for uspace/lib/usbdev/src/devdrv.c


Ignore:
Timestamp:
2011-10-12T15:35:23Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
96646a6
Parents:
49a98c8
Message:

usb: Rename add_device ⇒ device_add

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devdrv.c

    r49a98c8 r1a4ea01d  
    4141#include <assert.h>
    4242
    43 static int generic_add_device(ddf_dev_t *);
     43static int generic_device_add(ddf_dev_t *);
    4444
    4545static driver_ops_t generic_driver_ops = {
    46         .add_device = generic_add_device
     46        .add_device = generic_device_add
    4747};
    4848static driver_t generic_driver = {
     
    131131 * @return Error code.
    132132 */
    133 int generic_add_device(ddf_dev_t *gen_dev)
     133int generic_device_add(ddf_dev_t *gen_dev)
    134134{
    135135        assert(driver);
    136136        assert(driver->ops);
    137         assert(driver->ops->add_device);
     137        assert(driver->ops->device_add);
    138138
    139139        int rc;
     
    148148        }
    149149
    150         return driver->ops->add_device(dev);
     150        return driver->ops->device_add(dev);
    151151}
    152152
Note: See TracChangeset for help on using the changeset viewer.