Ignore:
File:
1 edited

Legend:

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

    r71ed4849 r138a7fd  
    2727 */
    2828#include <usb/hcdhubd.h>
    29 #include <usb_iface.h>
    3029#include <usb/debug.h>
    3130#include <errno.h>
     
    3332#include "uhci.h"
    3433
    35 static int usb_iface_get_hc_handle(device_t *dev, devman_handle_t *handle)
    36 {
    37         /* This shall be called only for the UHCI itself. */
    38         assert(dev->parent == NULL);
    39 
    40         *handle = dev->handle;
    41         return EOK;
    42 }
    43 
    44 static usb_iface_t hc_usb_iface = {
    45         .get_hc_handle = usb_iface_get_hc_handle
    46 };
    47 
    4834static device_ops_t uhci_ops = {
    49         .interfaces[USB_DEV_IFACE] = &hc_usb_iface,
    50         .interfaces[USBHC_DEV_IFACE] = &uhci_iface
     35        .interfaces[USBHC_DEV_IFACE] = &uhci_iface,
    5136};
    5237
Note: See TracChangeset for help on using the changeset viewer.