]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: scu: add empty scu_enable for !CONFIG_SMP
authorRob Herring <rob.herring@calxeda.com>
Thu, 31 Jan 2013 15:26:06 +0000 (09:26 -0600)
committerRob 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

index 4eb6d005ffaa4b625c9f86fc8532b046d0cf1f6a..86dff32a073755f46c40c379d27a29f9aab5b829 100644 (file)
@@ -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