diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-06-12 14:52:18 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-14 18:03:15 -0600 |
commit | 166c3984e6b1271c2e31ff0528ad65aadc913860 (patch) | |
tree | 1ebd8769bb2909e2f9ed38b124efa274820ef714 /drivers/cpu/cpu-uclass.c | |
parent | 5d4a757ca5edb8782188c2bc2735f016e4b6c290 (diff) | |
download | u-boot-imx-166c3984e6b1271c2e31ff0528ad65aadc913860.zip u-boot-imx-166c3984e6b1271c2e31ff0528ad65aadc913860.tar.gz u-boot-imx-166c3984e6b1271c2e31ff0528ad65aadc913860.tar.bz2 |
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>
Diffstat (limited to 'drivers/cpu/cpu-uclass.c')
-rw-r--r-- | drivers/cpu/cpu-uclass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpu/cpu-uclass.c b/drivers/cpu/cpu-uclass.c index ab18ee2..aa0267c 100644 --- a/drivers/cpu/cpu-uclass.c +++ b/drivers/cpu/cpu-uclass.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu.h> #include <dm.h> +#include <errno.h> #include <dm/lists.h> #include <dm/root.h> |