cmocka: update component cmd API to new convention.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2018-12-18 19:46:47 +00:00 committed by Liam Girdwood
parent a1e292b082
commit 6b3f266653
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ static int mock_comp_params(struct comp_dev *dev)
return 0;
}
static int mock_comp_cmd(struct comp_dev *dev, int cmd, void *data)
static int mock_comp_cmd(struct comp_dev *dev, int cmd, void *data,
int max_data_size)
{
return 0;
}