From 5d5a2805e071ed4c88766018662bcb7f9eab82fd Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 7 Nov 2013 01:34:47 +0000 Subject: Revert "audio: do not use GNU old-style field designators" This reverts commit d2bd76e0dabdfbdd33265b68c6b519cce1d673c6. Change-Id: I6fb884cd0e1efa0c792521b67ed193420f6929ba --- audio/audio_policy_hal.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/audio/audio_policy_hal.cpp b/audio/audio_policy_hal.cpp index b5dcb05..1604809 100644 --- a/audio/audio_policy_hal.cpp +++ b/audio/audio_policy_hal.cpp @@ -443,21 +443,21 @@ static int legacy_ap_dev_open(const hw_module_t* module, const char* name, } static struct hw_module_methods_t legacy_ap_module_methods = { - .open = legacy_ap_dev_open + open: legacy_ap_dev_open }; struct legacy_ap_module HAL_MODULE_INFO_SYM = { - .module = { - .common = { - .tag = HARDWARE_MODULE_TAG, - .version_major = 1, - .version_minor = 0, - .id = AUDIO_POLICY_HARDWARE_MODULE_ID, - .name = "LEGACY Audio Policy HAL", - .author = "The Android Open Source Project", - .methods: = &legacy_ap_module_methods, - .dso = NULL, - .reserved = {0}, + module: { + common: { + tag: HARDWARE_MODULE_TAG, + version_major: 1, + version_minor: 0, + id: AUDIO_POLICY_HARDWARE_MODULE_ID, + name: "LEGACY Audio Policy HAL", + author: "The Android Open Source Project", + methods: &legacy_ap_module_methods, + dso : NULL, + reserved : {0}, }, }, }; -- cgit v1.2.3