diff options
author | Nick Kralevich <nnk@google.com> | 2013-11-06 17:10:53 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-11-06 17:10:53 -0800 |
commit | e1ffc9aa462d53284fd1b788031592495957f7ec (patch) | |
tree | 4fa5a03d797c10e6871ca4fa9785aeab1f56dadd /audio | |
parent | 758289be1f05457db5dd4d29020cabd81efe66bb (diff) | |
parent | 636ab7e2dd52c3cdad575a49b952c1235d734240 (diff) | |
download | hardware_libhardware_legacy-e1ffc9aa462d53284fd1b788031592495957f7ec.zip hardware_libhardware_legacy-e1ffc9aa462d53284fd1b788031592495957f7ec.tar.gz hardware_libhardware_legacy-e1ffc9aa462d53284fd1b788031592495957f7ec.tar.bz2 |
am 636ab7e2: Merge "audio: do not use GNU old-style field designators"
* commit '636ab7e2dd52c3cdad575a49b952c1235d734240':
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..755e930 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}, }, }, }; |