Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zephyr: spinlock: Fix compile time warnings
With Zephyr, spinlock.h needs to know `struct k_spinlock` definition. Include, Zephyr's <kernel.h> header. This fixes compile time warnings like this: z/modules/audio/sof/zephyr/../src/include/sof/schedule/ll_schedule_domain.h: In function 'domain_init'" z/modules/audio/sof/zephyr/../src/include/sof/schedule/ll_schedule_domain.h:93:18: warning: passing argument 1 of 'k_spinlock_init' from incompatible pointer type [-Wincompatible-pointer-types] Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
- Loading branch information