Changeset c1ee46f in mainline


Ignore:
Timestamp:
2013-12-31T03:10:09Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
20ec37c
Parents:
9be30cdf
Message:

libdrv, battery: Use index initialized arrays.

File:
1 edited

Legend:

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

    r9be30cdf rc1ee46f  
    4747/** Remote battery interface operations */
    4848static const remote_iface_func_ptr_t remote_battery_dev_iface_ops[] = {
    49         &remote_battery_status_get,
    50         &remote_battery_charge_level_get,
     49        [BATTERY_STATUS_GET] = remote_battery_status_get,
     50        [BATTERY_CHARGE_LEVEL_GET] = remote_battery_charge_level_get,
    5151};
    5252
Note: See TracChangeset for help on using the changeset viewer.