Changeset 0c0f823b in mainline for uspace/drv/bus/usb/uhcirh/main.c


Ignore:
Timestamp:
2011-11-14T20:50:08Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
765678f, d5ba17f
Parents:
612ad864
Message:

Rename DDF entry point add_device to dev_add.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhcirh/main.c

    r612ad864 r0c0f823b  
    5151    uintptr_t *io_reg_address, size_t *io_reg_size);
    5252
    53 static int uhci_rh_add_device(ddf_dev_t *device);
     53static int uhci_rh_dev_add(ddf_dev_t *device);
    5454
    5555static driver_ops_t uhci_rh_driver_ops = {
    56         .add_device = uhci_rh_add_device,
     56        .dev_add = uhci_rh_dev_add,
    5757};
    5858
     
    8282 * @return Error code.
    8383 */
    84 static int uhci_rh_add_device(ddf_dev_t *device)
     84static int uhci_rh_dev_add(ddf_dev_t *device)
    8585{
    8686        if (!device)
    8787                return EINVAL;
    8888
    89         usb_log_debug2("uhci_rh_add_device(handle=%" PRIun ")\n",
     89        usb_log_debug2("uhci_rh_dev_add(handle=%" PRIun ")\n",
    9090            device->handle);
    9191
Note: See TracChangeset for help on using the changeset viewer.