Ignore:
Timestamp:
2013-12-31T21:41:45Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1bb9833
Parents:
4c14b88 (diff), 8a84484 (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 libdrv cleanup

File:
1 edited

Legend:

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

    r4c14b88 r1b973dc  
    3737#include <errno.h>
    3838#include <assert.h>
     39#include <macros.h>
    3940
    4041#include "usbhc_iface.h"
     
    191192
    192193/** Remote USB host controller interface operations. */
    193 static remote_iface_func_ptr_t remote_usbhc_iface_ops[] = {
     194static const remote_iface_func_ptr_t remote_usbhc_iface_ops[] = {
    194195        [IPC_M_USBHC_READ] = remote_usbhc_read,
    195196        [IPC_M_USBHC_WRITE] = remote_usbhc_write,
     
    198199/** Remote USB host controller interface structure.
    199200 */
    200 remote_iface_t remote_usbhc_iface = {
    201         .method_count = sizeof(remote_usbhc_iface_ops) /
    202             sizeof(remote_usbhc_iface_ops[0]),
     201const remote_iface_t remote_usbhc_iface = {
     202        .method_count = ARRAY_SIZE(remote_usbhc_iface_ops),
    203203        .methods = remote_usbhc_iface_ops
    204204};
Note: See TracChangeset for help on using the changeset viewer.