Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1680981

[PATCH 1/2] ARM: scu: add missing errno include

From Johan Hovold <johan@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 1/2] ARM: scu: add missing errno include
Date 2017-07-04 15:30 +0200
Message-ID <tZw3U-il-15@gated-at.bofh.it> (permalink)
References <tZw3U-il-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arm/include/asm/smp_scu.h | 1 +
 1 file changed, 1 insertion(+)

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)
-- 
2.13.2

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 1/2] ARM: scu: add missing errno include Johan Hovold <johan@kernel.org> - 2017-07-04 15:30 +0200

csiph-web