Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init: adjust the SYS_INIT dev field init to play nice with older comp…
…ilers Fix a build error with certain older Cadence XCC toolchains. These are used e.g. for Intel Tiger Lake products for the audio DSP (thhe oldest platform supported in Zephyr upstream for the audio DSP). To keep all compilers happy, use C89 style initializers. Error: lib/os/p4wq.c:216: error: unknown field ‘dev’ specified in initializer lib/os/p4wq.c:216: warning: missing braces around initializer lib/os/p4wq.c:216: warning: (near initialization for ‘__init_static_init.<anonymous>’) Compiler version XCC RG-2017.8-linux (xt-xcc version 12.0.8) Fixes: 2438dbb ("init: add missing initialization of dev pointer in SYS_INIT macro") Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
- Loading branch information