diff --git a/src/lib/notifier.c b/src/lib/notifier.c index cad4225c2..0cfde291e 100644 --- a/src/lib/notifier.c +++ b/src/lib/notifier.c @@ -25,7 +25,7 @@ DECLARE_SOF_UUID("notifier", notifier_uuid, 0x1fb15a7a, 0x83cd, 0x4c2e, DECLARE_TR_CTX(nt_tr, SOF_UUID(notifier_uuid), LOG_LEVEL_INFO); -static SHARED_DATA struct notify_data notify_data[CONFIG_CORE_COUNT]; +static SHARED_DATA struct notify_data notify_data_shared[CONFIG_CORE_COUNT]; struct callback_handle { void *receiver; @@ -199,8 +199,8 @@ void init_system_notify(struct sof *sof) list_init(&(*notify)->list[i]); if (cpu_get_id() == PLATFORM_PRIMARY_CORE_ID) - sof->notify_data = platform_shared_get(notify_data, - sizeof(notify_data)); + sof->notify_data = platform_shared_get(notify_data_shared, + sizeof(notify_data_shared)); } void free_system_notify(void)