Changeset 23c7f4d in mainline


Ignore:
Timestamp:
2011-02-01T23:07:03Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e9074f
Parents:
a4a8cca
Message:

Rename connection initialization function

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/main.c

    ra4a8cca r23c7f4d  
    412412         * Initialize the backing connection to the host controller.
    413413         */
    414         rc = usb_device_connection_initialize(&kbd_dev->wire, dev);
     414        rc = usb_device_connection_initialize_from_device(&kbd_dev->wire, dev);
    415415        if (rc != EOK) {
    416416                printf("Problem initializing connection to device: %s.\n",
  • uspace/lib/usb/include/usb/pipes.h

    ra4a8cca r23c7f4d  
    8080
    8181
    82 int usb_device_connection_initialize(usb_device_connection_t *, device_t *);
     82int usb_device_connection_initialize_from_device(usb_device_connection_t *,
     83    device_t *);
    8384
    8485int usb_endpoint_pipe_initialize(usb_endpoint_pipe_t *,
  • uspace/lib/usb/src/pipes.c

    ra4a8cca r23c7f4d  
    6060 * @return Error code.
    6161 */
    62 int usb_device_connection_initialize(usb_device_connection_t *connection,
    63     device_t *device)
     62int usb_device_connection_initialize_from_device(
     63    usb_device_connection_t *connection, device_t *device)
    6464{
    6565        assert(connection);
Note: See TracChangeset for help on using the changeset viewer.