diff options
-rw-r--r-- | power/power_tuna.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/power/power_tuna.c b/power/power_tuna.c index bca0ed2..32ed3ff 100644 --- a/power/power_tuna.c +++ b/power/power_tuna.c @@ -136,23 +136,23 @@ static struct hw_module_methods_t power_module_methods = { }; struct tuna_power_module HAL_MODULE_INFO_SYM = { - base: { - common: { - tag: HARDWARE_MODULE_TAG, - module_api_version: POWER_MODULE_API_VERSION_0_2, - hal_api_version: HARDWARE_HAL_API_VERSION, - id: POWER_HARDWARE_MODULE_ID, - name: "Tuna Power HAL", - author: "The Android Open Source Project", - methods: &power_module_methods, + .base = { + .common = { + .tag = HARDWARE_MODULE_TAG, + .module_api_version = POWER_MODULE_API_VERSION_0_2, + .hal_api_version = HARDWARE_HAL_API_VERSION, + .id = POWER_HARDWARE_MODULE_ID, + .name = "Tuna Power HAL", + .author = "The Android Open Source Project", + .methods = &power_module_methods, }, - init: tuna_power_init, - setInteractive: tuna_power_set_interactive, - powerHint: tuna_power_hint, + .init = tuna_power_init, + .setInteractive = tuna_power_set_interactive, + .powerHint = tuna_power_hint, }, - lock: PTHREAD_MUTEX_INITIALIZER, - boostpulse_fd: -1, - boostpulse_warned: 0, + .lock = PTHREAD_MUTEX_INITIALIZER, + .boostpulse_fd = -1, + .boostpulse_warned = 0, }; |