mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-20 22:52:00 +00:00
dm: cpu: Fix undefined ENOSYS build error
Include <errno.h> otherwise ENOSYS is undefined. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5d4a757ca5
commit
166c3984e6
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <cpu.h>
|
#include <cpu.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
static const char *cpu_feature_name[CPU_FEAT_COUNT] = {
|
static const char *cpu_feature_name[CPU_FEAT_COUNT] = {
|
||||||
"L1 cache",
|
"L1 cache",
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <cpu.h>
|
#include <cpu.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <dm/lists.h>
|
#include <dm/lists.h>
|
||||||
#include <dm/root.h>
|
#include <dm/root.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue