Skip to content

Commit

Permalink
Merge pull request thesofproject#26 from teslabs/sof-module-init
Browse files Browse the repository at this point in the history
  • Loading branch information
nashif authored Apr 12, 2023
2 parents 7dfbc47 + 417badb commit ac71254
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zephyr/include/rtos/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
#include <zephyr/init.h>

#define SOF_MODULE_INIT(name, init) \
static int zephyr_##name##_init(const struct device *dev) \
static int zephyr_##name##_init(void) \
{ \
ARG_UNUSED(dev); \
init(); \
return 0; \
} \
Expand Down

0 comments on commit ac71254

Please sign in to comment.