summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2013-11-06 17:10:53 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-11-06 17:10:53 -0800
commite1ffc9aa462d53284fd1b788031592495957f7ec (patch)
tree4fa5a03d797c10e6871ca4fa9785aeab1f56dadd /audio
parent758289be1f05457db5dd4d29020cabd81efe66bb (diff)
parent636ab7e2dd52c3cdad575a49b952c1235d734240 (diff)
downloadhardware_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.cpp24
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},
},
},
};