Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eed88123 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
parent 949db153
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
@@ -7,8 +7,14 @@


#ifndef __ASSEMBLER__
#ifndef __ASSEMBLER__
unsigned int scu_get_core_count(void __iomem *);
unsigned int scu_get_core_count(void __iomem *);
void scu_enable(void __iomem *);
int scu_power_mode(void __iomem *, unsigned int);
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


#endif
#endif