kernel: device: add missing kobject.h include

The module references a function declared in kobject.h.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-10-04 14:46:10 +02:00 committed by Carles Cufí
commit 27845886a1

View file

@ -7,6 +7,7 @@
#include <string.h> #include <string.h>
#include <zephyr/device.h> #include <zephyr/device.h>
#include <zephyr/sys/atomic.h> #include <zephyr/sys/atomic.h>
#include <zephyr/sys/kobject.h>
#include <zephyr/syscall_handler.h> #include <zephyr/syscall_handler.h>
extern const struct init_entry __init_start[]; extern const struct init_entry __init_start[];