diff --git a/xtos/include/sof/lib/dai.h b/xtos/include/sof/lib/dai.h index 27f593dd32ec..d1fd463eef3f 100644 --- a/xtos/include/sof/lib/dai.h +++ b/xtos/include/sof/lib/dai.h @@ -13,13 +13,13 @@ * \author Keyon Jie */ +#ifdef __ZEPHYR__ +#error "Please use zephyr/include/sof/lib/dai.h instead" +#endif + #ifndef __SOF_LIB_DAI_H__ #define __SOF_LIB_DAI_H__ -#ifdef CONFIG_ZEPHYR_NATIVE_DRIVERS -#include -#else #include -#endif #endif /* __SOF_LIB_DAI_H__ */ diff --git a/zephyr/include/sof/lib/dai.h b/zephyr/include/sof/lib/dai.h new file mode 100644 index 000000000000..a0531e47ff95 --- /dev/null +++ b/zephyr/include/sof/lib/dai.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * + * Copyright(c) 2024 Intel Corporation. + */ + +#ifndef __SOF_LIB_DAI_H__ +#define __SOF_LIB_DAI_H__ + +/* no-op on Zephyr */ + +#ifdef CONFIG_ZEPHYR_NATIVE_DRIVERS +#include +#else +#include +#endif + +#endif /* __SOF_LIB_MEMORY_H__ */