From: Bin Meng Date: Fri, 12 Jun 2015 06:52:18 +0000 (+0800) Subject: dm: cpu: Fix undefined ENOSYS build error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=166c3984e6b1271c2e31ff0528ad65aadc913860;p=project%2Fbcm63xx%2Fu-boot.git dm: cpu: Fix undefined ENOSYS build error Include otherwise ENOSYS is undefined. Signed-off-by: Bin Meng Acked-by: Simon Glass --- diff --git a/common/cmd_cpu.c b/common/cmd_cpu.c index c3e229f00a..b4af64f54f 100644 --- a/common/cmd_cpu.c +++ b/common/cmd_cpu.c @@ -9,6 +9,7 @@ #include #include #include +#include static const char *cpu_feature_name[CPU_FEAT_COUNT] = { "L1 cache", diff --git a/drivers/cpu/cpu-uclass.c b/drivers/cpu/cpu-uclass.c index ab18ee2ea9..aa0267ca03 100644 --- a/drivers/cpu/cpu-uclass.c +++ b/drivers/cpu/cpu-uclass.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include