diff options
-rw-r--r-- | plat/mediatek/mt8173/drivers/spm/spm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/mediatek/mt8173/drivers/spm/spm.c b/plat/mediatek/mt8173/drivers/spm/spm.c index f67daea0..7c6d72be 100644 --- a/plat/mediatek/mt8173/drivers/spm/spm.c +++ b/plat/mediatek/mt8173/drivers/spm/spm.c @@ -53,7 +53,8 @@ static int spm_dormant_sta = CPU_DORMANT_RESET; #endif -static bakery_lock_t spm_lock __attribute__ ((section("tzfw_coherent_mem"))); +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"))); |