diff options
author | Rob Herring | 2013-01-31 09:26:06 -0600 |
---|---|---|
committer | Rob Herring | 2013-01-31 13:06:50 -0600 |
commit | eed8812387e201e158059fe6fb908f8a662084dd (patch) | |
tree | bbce2dbd4615a191a755441a8c8c1b9e250f5099 /arch/arm | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) |
ARM: scu: add empty scu_enable for !CONFIG_SMP
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/smp_scu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h index 4eb6d005ffaa..86dff32a0737 100644 --- 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 |