]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: arch_timer: include linux/errno.h
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Feb 2013 16:45:25 +0000 (17:45 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Feb 2013 18:32:03 +0000 (19:32 +0100)
commitfe7dc7202d7d24fe211e0eecf531d8b79b655b3c
tree9cc6065105f0a7a374799d627cbdc10f7fa5f075
parentb221498e5d276b4ea5a50ba545b75f8cf2c2edf5
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 <arnd@arndb.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kernel/arch_timer.c