Ignore:
Timestamp:
2013-01-25T22:21:13Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
945d66c
Parents:
f6b2a76
Message:

usb, drivers: Use usb_device_* wrappers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/kbd/kbddev.c

    rf6b2a76 rc39e9fb  
    270270                0));
    271271
    272         rc = usbhid_req_set_report(&hid_dev->usb_dev->ctrl_pipe,
     272        rc = usbhid_req_set_report(
     273            usb_device_get_default_pipe(hid_dev->usb_dev),
    273274            hid_dev->usb_dev->interface_no, USB_HID_REPORT_TYPE_OUTPUT,
    274275            kbd_dev->output_buffer, kbd_dev->output_size);
     
    581582        usb_kbd_set_led(hid_dev, kbd_dev);
    582583
    583         usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe,
     584        usbhid_req_set_idle(usb_device_get_default_pipe(hid_dev->usb_dev),
    584585            hid_dev->usb_dev->interface_no, IDLE_RATE);
    585586
     
    786787        }
    787788
    788         rc = usbhid_req_set_protocol(&hid_dev->usb_dev->ctrl_pipe,
     789        rc = usbhid_req_set_protocol(
     790            usb_device_get_default_pipe(hid_dev->usb_dev),
    789791            hid_dev->usb_dev->interface_no, USB_HID_PROTOCOL_BOOT);
    790792
Note: See TracChangeset for help on using the changeset viewer.