summaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorShawn Guo2011-10-06 15:57:24 +0200
committerRussell King2011-10-15 12:04:22 +0200
commitbb1ac3ec95cf0cce5145617b140f2090ed45d565 (patch)
tree6969b37feed4d6c024eea58e464de797c9d53d60 /arch/arm/common
parentARM: 7117/1: perf: fix HW_CACHE_* events on Cortex-A9 (diff)
downloadkernel-qcow2-linux-bb1ac3ec95cf0cce5145617b140f2090ed45d565.tar.gz
kernel-qcow2-linux-bb1ac3ec95cf0cce5145617b140f2090ed45d565.tar.xz
kernel-qcow2-linux-bb1ac3ec95cf0cce5145617b140f2090ed45d565.zip
ARM: 7122/1: localtimer: add header linux/errno.h explicitly
Per the text in Documentation/SubmitChecklist as below, we should explicitly have header linux/errno.h in localtimer.h for ENXIO reference. 1: If you use a facility then #include the file that defines/declares that facility. Don't depend on other header files pulling in ones that you use. Otherwise, we may run into some compiling error like the following one, if any file includes localtimer.h without CONFIG_LOCAL_TIMERS defined. arch/arm/include/asm/localtimer.h: In function ‘local_timer_setup’: arch/arm/include/asm/localtimer.h:53:10: error: ‘ENXIO’ undeclared (first use in this function) Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
0 files changed, 0 insertions, 0 deletions