From: Arnd Bergmann Date: Thu, 14 Feb 2013 16:45:25 +0000 (+0100) Subject: ARM: arch_timer: include linux/errno.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fe7dc7202d7d24fe211e0eecf531d8b79b655b3c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: arch_timer: include linux/errno.h Patch 8a4da6e "arm: arch_timer: move core to drivers/clocksource" moved a lot of code out of arch_timer.c, but ended up deleting too much, which broke some configurations. Obviously, include linux/errno.h is required to return error values. Without this patch, building allmodconfig results in: arch/arm/kernel/arch_timer.c: In function 'arch_timer_sched_clock_init': arch/arm/kernel/arch_timer.c:55:11: error: 'ENXIO' undeclared (first use in this function) arch/arm/kernel/arch_timer.c:55:11: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Arnd Bergmann Acked-by: Mark Rutland Cc: Catalin Marinas Cc: Marc Zyngier --- diff --git a/arch/arm/kernel/arch_timer.c b/arch/arm/kernel/arch_timer.c index 36ebcf4b516f..d957a51435d8 100644 --- a/arch/arm/kernel/arch_timer.c +++ b/arch/arm/kernel/arch_timer.c @@ -10,6 +10,7 @@ */ #include #include +#include #include #include