diff --git a/src/audio/module_adapter/module/modules.c b/src/audio/module_adapter/module/modules.c index 6631dc5bfc7f..6877cc2b7bb7 100644 --- a/src/audio/module_adapter/module/modules.c +++ b/src/audio/module_adapter/module/modules.c @@ -78,7 +78,7 @@ static int modules_init(struct processing_module *mod) comp_err(dev, "modules_init(), lib_manager_allocate_module() failed!"); return -EINVAL; } - md->module_entry_point = module_entry_point; + comp_info(dev, "modules_init() start"); uint32_t module_id = IPC4_MOD_ID(dev->ipc_config.id); @@ -114,7 +114,7 @@ static int modules_init(struct processing_module *mod) mod_buildinfo->api_version_number.full == SOF_MODULE_API_CURRENT_VERSION) { /* If start agent for sof loadable */ is_native_sof = true; - md->ops = native_system_agent_start(md->module_entry_point, module_id, + md->ops = native_system_agent_start(module_entry_point, module_id, instance_id, 0, log_handle, &mod_cfg); } else return -ENOEXEC; diff --git a/src/include/module/module/base.h b/src/include/module/module/base.h index c04efbd1bbd0..269bc301e04d 100644 --- a/src/include/module/module/base.h +++ b/src/include/module/module/base.h @@ -59,7 +59,6 @@ struct module_data { const struct module_interface *ops; /**< module specific operations */ struct module_memory memory; /**< memory allocated by module */ struct module_processing_data mpd; /**< shared data comp <-> module */ - uint32_t module_entry_point; /**