diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-01-14 10:11:05 -0800 |
---|---|---|
committer | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-01-14 10:55:17 -0800 |
commit | 65cd299f52450cc93a6986c7a912a843a2c4f6da (patch) | |
tree | 09564e001013dc3206a63d448ebeac449edfabf8 /plat/mediatek/mt8173 | |
parent | 70ecb564fd9f9acee231631757ce17c19c66d610 (diff) |
Remove direct usage of __attribute__((foo))
Migrate all direct usage of __attribute__ to usage of their
corresponding macros from cdefs.h.
e.g.:
- __attribute__((unused)) -> __unused
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Diffstat (limited to 'plat/mediatek/mt8173')
-rw-r--r-- | plat/mediatek/mt8173/drivers/spm/spm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/mediatek/mt8173/drivers/spm/spm.c b/plat/mediatek/mt8173/drivers/spm/spm.c index 7c6d72be..28019256 100644 --- a/plat/mediatek/mt8173/drivers/spm/spm.c +++ b/plat/mediatek/mt8173/drivers/spm/spm.c @@ -55,9 +55,9 @@ static int spm_dormant_sta = CPU_DORMANT_RESET; DEFINE_BAKERY_LOCK(spm_lock); -static int spm_hotplug_ready __attribute__ ((section("tzfw_coherent_mem"))); -static int spm_mcdi_ready __attribute__ ((section("tzfw_coherent_mem"))); -static int spm_suspend_ready __attribute__ ((section("tzfw_coherent_mem"))); +static int spm_hotplug_ready __section("tzfw_coherent_mem"); +static int spm_mcdi_ready __section("tzfw_coherent_mem"); +static int spm_suspend_ready __section("tzfw_coherent_mem"); void spm_lock_init(void) { |