]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: 8689/1: scu: add missing errno include
authorJohan Hovold <johan@kernel.org>
Mon, 17 Jul 2017 08:28:19 +0000 (09:28 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 2 Aug 2017 13:14:54 +0000 (14:14 +0100)
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>
arch/arm/include/asm/smp_scu.h

index bfe163c40024de7d6ccc81097451cfc409cc42c8..5983f6bc62d57784b007f3ccad4e80cad47e5828 100644 (file)
@@ -7,6 +7,7 @@
 
 #ifndef __ASSEMBLER__
 
+#include <linux/errno.h>
 #include <asm/cputype.h>
 
 static inline bool scu_a9_has_base(void)