cmocka: fix cmocka build issue

Fix the cmocka build issue after adding functions
for explicitly get ipc device for component, buffer
and pipeline.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
This commit is contained in:
Chao Song 2023-08-22 16:32:25 +08:00 committed by Liam Girdwood
parent ba07a1474e
commit bc28b924d9
1 changed files with 2 additions and 1 deletions

View File

@ -299,9 +299,10 @@ void WEAK platform_dai_timestamp(struct comp_dev *dai,
(void)posn;
}
struct ipc_comp_dev * WEAK ipc_get_comp_by_id(struct ipc *ipc, uint32_t id)
struct ipc_comp_dev *WEAK ipc_get_comp_dev(struct ipc *ipc, uint16_t type, uint32_t id)
{
(void)ipc;
(void)type;
(void)id;
return NULL;