Changeset cb59f787 in mainline for uspace/lib/usb/src/hcdhubd.c


Ignore:
Timestamp:
2010-11-21T09:22:41Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f8c1f7
Parents:
32eceb4f
Message:

Rename USB interface to USBHC

USB devices themselves could have their own interface for some
general querying. This name thus seems more apropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hcdhubd.c

    r32eceb4f rcb59f787  
    3434 */
    3535#include <usb/hcdhubd.h>
    36 #include <usb_iface.h>
     36#include <usbhc_iface.h>
    3737#include <driver.h>
    3838#include <bool.h>
     
    4545static usb_hc_driver_t *hc_driver = NULL;
    4646
    47 static usb_iface_t usb_interface = {
     47static usbhc_iface_t usb_interface = {
    4848        .interrupt_out = NULL,
    4949        .interrupt_in = NULL
     
    5151
    5252static device_ops_t usb_device_ops = {
    53         .interfaces[USB_DEV_IFACE] = &usb_interface
     53        .interfaces[USBHC_DEV_IFACE] = &usb_interface
    5454};
    5555
Note: See TracChangeset for help on using the changeset viewer.