commit | 166c3984e6b1271c2e31ff0528ad65aadc913860 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Jun 12 14:52:18 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 14 18:03:15 2015 -0600 |
tree | 1ebd8769bb2909e2f9ed38b124efa274820ef714 | |
parent | 5d4a757ca5edb8782188c2bc2735f016e4b6c290 [diff] [blame] |
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>
diff --git a/common/cmd_cpu.c b/common/cmd_cpu.c index c3e229f..b4af64f5 100644 --- a/common/cmd_cpu.c +++ b/common/cmd_cpu.c
@@ -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",