Ignore:
Timestamp:
2014-01-19T14:37:22Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cf982ff
Parents:
2f591127 (diff), 476f62c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usbhc.c

    r2f591127 r5828554  
    3737#include <errno.h>
    3838#include <assert.h>
     39#include <macros.h>
    3940
    4041#include "usbhc_iface.h"
     
    334335
    335336/** Remote USB host controller interface operations. */
    336 static remote_iface_func_ptr_t remote_usbhc_iface_ops[] = {
     337static const remote_iface_func_ptr_t remote_usbhc_iface_ops[] = {
    337338        [IPC_M_USBHC_REQUEST_ADDRESS] = remote_usbhc_request_address,
    338339        [IPC_M_USBHC_RELEASE_ADDRESS] = remote_usbhc_release_address,
     
    349350/** Remote USB host controller interface structure.
    350351 */
    351 remote_iface_t remote_usbhc_iface = {
    352         .method_count = sizeof(remote_usbhc_iface_ops) /
    353             sizeof(remote_usbhc_iface_ops[0]),
     352const remote_iface_t remote_usbhc_iface = {
     353        .method_count = ARRAY_SIZE(remote_usbhc_iface_ops),
    354354        .methods = remote_usbhc_iface_ops
    355355};
Note: See TracChangeset for help on using the changeset viewer.