diff --git a/include/lib/xlat_tables/xlat_tables_v2.h b/include/lib/xlat_tables/xlat_tables_v2.h index 2be43296b7d784af7f4f8be7908be0d4f4c78d23..59f0955fe8f992e98d25368713206f9fff54ba83 100644 --- a/include/lib/xlat_tables/xlat_tables_v2.h +++ b/include/lib/xlat_tables/xlat_tables_v2.h @@ -23,12 +23,12 @@ /* Helper macro to define entries for mmap_region_t. It allows to * re-map address mappings from 'pa' to 'va' for each region. */ -#define MAP_REGION(_pa, _va, _sz, _attr) ((mmap_region_t){ \ +#define MAP_REGION(_pa, _va, _sz, _attr) { \ .base_pa = (_pa), \ .base_va = (_va), \ .size = (_sz), \ .attr = (_attr), \ - }) + } /* * Shifts and masks to access fields of an mmap_attr_t