summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-07-17 09:28:19 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2017-08-02 14:14:54 +0100
commitfed3c15531a225d95ec9b0aba4ff01c38de7a1b9 (patch)
tree926f6fca013c5ed33bb7265fd6ef60fc0047954e /arch/arm
parentac8b4d3ed1a1e995ce821064ce54a22c24d88294 (diff)
downloadlinux-fed3c15531a225d95ec9b0aba4ff01c38de7a1b9.tar.gz
linux-fed3c15531a225d95ec9b0aba4ff01c38de7a1b9.tar.bz2
linux-fed3c15531a225d95ec9b0aba4ff01c38de7a1b9.zip
ARM: 8689/1: scu: add missing errno include
Add missing errno include to make the header self-contained and avoid compilation breakage when compiling shared code without CONFIG_HAVE_ARM_SCU. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/smp_scu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h
index bfe163c40024..5983f6bc62d5 100644
--- a/arch/arm/include/asm/smp_scu.h
+++ b/arch/arm/include/asm/smp_scu.h
@@ -7,6 +7,7 @@
#ifndef __ASSEMBLER__
+#include <linux/errno.h>
#include <asm/cputype.h>
static inline bool scu_a9_has_base(void)