Changeset b803845 in mainline for uspace/drv/bus/usb/usbhid/kbd


Ignore:
Timestamp:
2011-10-15T14:56:23Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f8f09f
Parents:
9c5fd7a
Message:

usb: Make endpoint descriptions const.

Location:
uspace/drv/bus/usb/usbhid/kbd
Files:
2 edited

Legend:

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

    r9c5fd7a rb803845  
    8888
    8989/** Keyboard polling endpoint description for boot protocol class. */
    90 usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description = {
     90const usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description = {
    9191        .transfer_type = USB_TRANSFER_INTERRUPT,
    9292        .direction = USB_DIRECTION_IN,
  • uspace/drv/bus/usb/usbhid/kbd/kbddev.h

    r9c5fd7a rb803845  
    118118/*----------------------------------------------------------------------------*/
    119119
    120 usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description;
     120extern const usb_endpoint_description_t usb_hid_kbd_poll_endpoint_description;
    121121
    122122const char *HID_KBD_FUN_NAME;
Note: See TracChangeset for help on using the changeset viewer.