[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1456524418-4006-1-git-send-email-d-gerlach@ti.com>
Date: Fri, 26 Feb 2016 16:06:58 -0600
From: Dave Gerlach <d-gerlach@...com>
To: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
Russell King <linux@....linux.org.uk>
CC: Dan Murphy <dmurphy@...com>, Dave Gerlach <d-gerlach@...com>
Subject: [PATCH] ARM: scu: Should include asm/errno.h
The stub for scu_power_mode returns -EINVAL if a !CONFIG_SMP build is
being done, and because this file can be included in files that are
shared between SMP and non-SMP platforms, we must make sure to
explicitly include asm/errno.h otherwise the build may fail based on
include order.
Reported-by: Dan Murphy <dmurphy@...com>
Signed-off-by: Dave Gerlach <d-gerlach@...com>
---
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..e7f39655333a 100644
--- a/arch/arm/include/asm/smp_scu.h
+++ b/arch/arm/include/asm/smp_scu.h
@@ -8,6 +8,7 @@
#ifndef __ASSEMBLER__
#include <asm/cputype.h>
+#include <asm/errno.h>
static inline bool scu_a9_has_base(void)
{
--
2.7.2
Powered by blists - more mailing lists