projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
949db15
)
ARM: scu: add empty scu_enable for !CONFIG_SMP
author
Rob Herring
<rob.herring@calxeda.com>
Thu, 31 Jan 2013 15:26:06 +0000
(09:26 -0600)
committer
Rob Herring
<rob.herring@calxeda.com>
Thu, 31 Jan 2013 19:06:50 +0000
(13:06 -0600)
Add an empty version of scu_enable for !SMP builds. This fixes
compile error for highbank suspend code on !SMP builds.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/include/asm/smp_scu.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/smp_scu.h
b/arch/arm/include/asm/smp_scu.h
index 4eb6d005ffaa4b625c9f86fc8532b046d0cf1f6a..86dff32a073755f46c40c379d27a29f9aab5b829 100644
(file)
--- a/
arch/arm/include/asm/smp_scu.h
+++ b/
arch/arm/include/asm/smp_scu.h
@@
-7,8
+7,14
@@
#ifndef __ASSEMBLER__
unsigned int scu_get_core_count(void __iomem *);
-void scu_enable(void __iomem *);
int scu_power_mode(void __iomem *, unsigned int);
+
+#ifdef CONFIG_SMP
+void scu_enable(void __iomem *scu_base);
+#else
+static inline void scu_enable(void __iomem *scu_base) {}
+#endif
+
#endif
#endif