* [PATCH] ARM: scu: empty scu_enable for !CONFIG_HAVE_ARM_SCU
@ 2013-05-31 3:13 Neil Zhang
0 siblings, 0 replies; only message in thread
From: Neil Zhang @ 2013-05-31 3:13 UTC (permalink / raw)
To: linux-arm-kernel
Use the right config to empty scu_enable.
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
---
arch/arm/include/asm/smp_scu.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h
index 18d1693..ac93189 100644
--- a/arch/arm/include/asm/smp_scu.h
+++ b/arch/arm/include/asm/smp_scu.h
@@ -26,7 +26,7 @@ static inline unsigned long scu_a9_get_base(void)
unsigned int scu_get_core_count(void __iomem *);
int scu_power_mode(void __iomem *, unsigned int);
-#ifdef CONFIG_SMP
+#ifdef CONFIG_HAVE_ARM_SCU
void scu_enable(void __iomem *scu_base);
#else
static inline void scu_enable(void __iomem *scu_base) {}
--
1.7.4.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-31 3:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31 3:13 [PATCH] ARM: scu: empty scu_enable for !CONFIG_HAVE_ARM_SCU Neil Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).