toolchain: only include <zephyr/toolchain.h>

It is wrong to use toolchain-specific header files.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-09-14 11:47:58 +02:00 committed by Carles Cufí
commit aaeb0a672e
20 changed files with 20 additions and 20 deletions

View file

@ -7,7 +7,7 @@
#define ZEPHYR_SOC_ARM_ASPEED_UTIL_H_
#include <zephyr/sys/util.h>
#include <zephyr/devicetree.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
/* gcc.h doesn't define __section but checkpatch.pl will complain for this. so
* temporarily add a macro here.