dm: cpu: Fix undefined ENOSYS build error
authorBin Meng <bmeng.cn@gmail.com>
Fri, 12 Jun 2015 06:52:18 +0000 (14:52 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:15 +0000 (18:03 -0600)
commit166c3984e6b1271c2e31ff0528ad65aadc913860
tree1ebd8769bb2909e2f9ed38b124efa274820ef714
parent5d4a757ca5edb8782188c2bc2735f016e4b6c290
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>
common/cmd_cpu.c
drivers/cpu/cpu-uclass.c