Changeset 8fccd42 in mainline


Ignore:
Timestamp:
2012-07-20T14:33:02Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e3122b0
Parents:
8013637
Message:

ohci: Fix compiler errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/root_hub.c

    r8013637 r8fccd42  
    566566                return EINVAL;
    567567
    568         switch (feature)
    569         {
     568        switch (feature) {
    570569        case USB_HUB_FEATURE_PORT_POWER:   /*8*/
    571570                {
     
    587586        case USB_HUB_FEATURE_PORT_RESET:   /*4*/
    588587                usb_log_debug2("Setting port POWER, ENABLE, SUSPEND or RESET "
    589                     "on port %zu.\n", port);
     588                    "on port %"PRIu16".\n", port);
    590589                OHCI_WR(instance->registers->rh_port_status[port - 1],
    591590                    1 << feature);
     
    649648        case USB_HUB_FEATURE_C_PORT_RESET:        /*20*/
    650649                usb_log_debug2("Clearing port C_CONNECTION, C_ENABLE, "
    651                     "C_SUSPEND, C_OC or C_RESET on port %zu.\n", port);
     650                    "C_SUSPEND, C_OC or C_RESET on port %"PRIu16".\n", port);
    652651                /* Bit offsets correspond to the feature number */
    653652                OHCI_WR(instance->registers->rh_port_status[port - 1],
Note: See TracChangeset for help on using the changeset viewer.