display: Enable clang for all display modules
Change-Id: I71e3fa3f7d44253b8e01d1eafe086b1898d65a8e
diff --git a/libmemtrack/memtrack_msm.c b/libmemtrack/memtrack_msm.c
index 8adff96..e369d5f 100644
--- a/libmemtrack/memtrack_msm.c
+++ b/libmemtrack/memtrack_msm.c
@@ -47,17 +47,17 @@
};
struct memtrack_module HAL_MODULE_INFO_SYM = {
- common: {
- tag: HARDWARE_MODULE_TAG,
- module_api_version: MEMTRACK_MODULE_API_VERSION_0_1,
- hal_api_version: HARDWARE_HAL_API_VERSION,
- id: MEMTRACK_HARDWARE_MODULE_ID,
- name: "MSM Memory Tracker HAL",
- author: "The Android Open Source Project",
- methods: &memtrack_module_methods,
+ .common = {
+ .tag = HARDWARE_MODULE_TAG,
+ .module_api_version = MEMTRACK_MODULE_API_VERSION_0_1,
+ .hal_api_version = HARDWARE_HAL_API_VERSION,
+ .id = MEMTRACK_HARDWARE_MODULE_ID,
+ .name = "MSM Memory Tracker HAL",
+ .author = "The Android Open Source Project",
+ .methods = &memtrack_module_methods,
},
- init: msm_memtrack_init,
- getMemory: msm_memtrack_get_memory,
+ .init = msm_memtrack_init,
+ .getMemory = msm_memtrack_get_memory,
};