mirror of https://github.com/thesofproject/sof.git
audio: asrc: prevent compilation error when CONFIG_ZEPHYR_NATIVE_DRIVERS is not set
Use 2 separate signatures when CONFIG_ZEPHYR_NATIVE_DRIVERS is set vs not set. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
a8b027f7d4
commit
a8b2b86c9e
|
@ -651,8 +651,13 @@ static int asrc_dai_stop_timestamp(struct comp_data *cd)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
#if CONFIG_ZEPHYR_NATIVE_DRIVERS
|
||||
static int asrc_dai_get_timestamp(struct comp_data *cd,
|
||||
struct dai_ts_data *tsd)
|
||||
#else
|
||||
static int asrc_dai_get_timestamp(struct comp_data *cd,
|
||||
struct timestamp_data *tsd)
|
||||
#endif
|
||||
{
|
||||
if (cd->dai_dev) {
|
||||
struct processing_module *mod = comp_get_drvdata(cd->dai_dev);
|
||||
|
|
Loading…
Reference in New Issue