Changeset ad91b806 in mainline


Ignore:
Timestamp:
2011-12-06T12:31:05Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f7ac3f3
Parents:
6bba41d
Message:

uhci: uhci_transfer_batch_is_complete takes const argument.

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

Legend:

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

    r6bba41d rad91b806  
    156156 * is reached.
    157157 */
    158 bool uhci_transfer_batch_is_complete(uhci_transfer_batch_t *uhci_batch)
     158bool uhci_transfer_batch_is_complete(const uhci_transfer_batch_t *uhci_batch)
    159159{
    160160        assert(uhci_batch);
  • uspace/drv/bus/usb/uhci/uhci_batch.h

    r6bba41d rad91b806  
    6262uhci_transfer_batch_t * uhci_transfer_batch_get(usb_transfer_batch_t *batch);
    6363void uhci_transfer_batch_finish_dispose(uhci_transfer_batch_t *uhci_batch);
    64 bool uhci_transfer_batch_is_complete(uhci_transfer_batch_t *uhci_batch);
     64bool uhci_transfer_batch_is_complete(const uhci_transfer_batch_t *uhci_batch);
    6565
    6666static inline void * uhci_transfer_batch_setup_buffer(
Note: See TracChangeset for help on using the changeset viewer.