sys_io.h: don't pull in kernel.h

Headers should only be pulling in other headers if that header
needs it somewhere in its contents. Otherwise, pulling in other
headers should be done by C files to avoid extremely difficult
dependency loops (in this case, the main kernel.h and arch/cpu.h
on ARM)

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-11-01 10:15:41 -07:00 committed by Andrew Boie
parent 43263fcf2e
commit 36adf4e432

View file

@ -13,7 +13,6 @@
extern "C" {
#endif
#include <kernel.h>
#include <zephyr/types.h>
#include <stddef.h>