Skip to content

Commit

Permalink
zephyr: lib: alloc: s/device.h/init.h
Browse files Browse the repository at this point in the history
Module is using Zephyr SYS_INIT API, defined in init.h, not device.h.
Code relied on indirect includes.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and kv2019i committed Sep 6, 2023
1 parent 65b2e0b commit b66e79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr/lib/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <rtos/wait.h>

/* Zephyr includes */
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/pm/policy.h>
#include <version.h>
Expand Down

0 comments on commit b66e79d

Please sign in to comment.