diff options
author | Elliott Hughes <enh@google.com> | 2013-11-07 01:34:47 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-11-07 01:34:47 +0000 |
commit | 5d5a2805e071ed4c88766018662bcb7f9eab82fd (patch) | |
tree | 4796c19442b00c7f258ce334827250820c38328f | |
parent | d2bd76e0dabdfbdd33265b68c6b519cce1d673c6 (diff) | |
download | platform_hardware_libhardware_legacy-5d5a2805e071ed4c88766018662bcb7f9eab82fd.tar.gz platform_hardware_libhardware_legacy-5d5a2805e071ed4c88766018662bcb7f9eab82fd.tar.bz2 platform_hardware_libhardware_legacy-5d5a2805e071ed4c88766018662bcb7f9eab82fd.zip |
Revert "audio: do not use GNU old-style field designators"
This reverts commit d2bd76e0dabdfbdd33265b68c6b519cce1d673c6.
Change-Id: I6fb884cd0e1efa0c792521b67ed193420f6929ba
-rw-r--r-- | audio/audio_policy_hal.cpp | 24 |
1 files 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}, }, }, }; |