summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-07-17 10:28:19 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2017-08-02 15:14:54 +0200
commitfed3c15531a225d95ec9b0aba4ff01c38de7a1b9 (patch)
tree926f6fca013c5ed33bb7265fd6ef60fc0047954e /arch
parentARM: 8688/1: pm: add missing types include (diff)
downloadlinux-fed3c15531a225d95ec9b0aba4ff01c38de7a1b9.tar.xz
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')
-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)