Changeset d394f1b8 in mainline for uspace/drv/bus/usb/uhci/hw_struct


Ignore:
Timestamp:
2011-09-07T13:26:48Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ec492b
Parents:
933b0d7
Message:

uhci,ohci: Add some const qualifiers because there is no reason not to

Location:
uspace/drv/bus/usb/uhci/hw_struct
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.c

    r933b0d7 rd394f1b8  
    6161 */
    6262void td_init(td_t *instance, int err_count, size_t size, bool toggle, bool iso,
    63     bool low_speed, usb_target_t target, usb_packet_id pid, void *buffer,
     63    bool low_speed, usb_target_t target, usb_packet_id pid, const void *buffer,
    6464    const td_t *next)
    6565{
  • uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h

    r933b0d7 rd394f1b8  
    9595void td_init(td_t *instance, int error_count, size_t size, bool toggle,
    9696    bool iso, bool low_speed, usb_target_t target, usb_packet_id pid,
    97     void *buffer, const td_t *next);
     97    const void *buffer, const td_t *next);
    9898
    9999int td_status(td_t *instance);
Note: See TracChangeset for help on using the changeset viewer.