diff options
author | Nick Kralevich <nnk@google.com> | 2013-11-06 19:29:23 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-11-06 19:29:23 -0800 |
commit | a8809cd0685ef489f770e6bdc197d4f714fee9ce (patch) | |
tree | 58ec46ae96ad0d15d8e4c9b79519c20d93613f50 /audio | |
parent | 7e7add707a4bc5a2c32553434e6b8b898af28ccc (diff) | |
parent | 376356d4e0c135e710c6232e7e3f5c950247c848 (diff) | |
download | platform_hardware_libhardware_legacy-a8809cd0685ef489f770e6bdc197d4f714fee9ce.tar.gz platform_hardware_libhardware_legacy-a8809cd0685ef489f770e6bdc197d4f714fee9ce.tar.bz2 platform_hardware_libhardware_legacy-a8809cd0685ef489f770e6bdc197d4f714fee9ce.zip |
am 376356d4: Merge "audio: do not use GNU old-style field designators"
* commit '376356d4e0c135e710c6232e7e3f5c950247c848':
audio: do not use GNU old-style field designators
Diffstat (limited to 'audio')
-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 0e03358..e44bc48 100644 --- a/audio/audio_policy_hal.cpp +++ b/audio/audio_policy_hal.cpp @@ -453,21 +453,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}, }, }, }; |