Skip to content
Snippets Groups Projects
Commit 166c3984 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

dm: cpu: Fix undefined ENOSYS build error


Include <errno.h> otherwise ENOSYS is undefined.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 5d4a757c
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
#include <command.h>
#include <cpu.h>
#include <dm.h>
#include <errno.h>
static const char *cpu_feature_name[CPU_FEAT_COUNT] = {
"L1 cache",
......
......@@ -8,6 +8,7 @@
#include <common.h>
#include <cpu.h>
#include <dm.h>
#include <errno.h>
#include <dm/lists.h>
#include <dm/root.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment