summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-06-16 14:48:04 +0200
committersaid m bagheri <ebgheri@steludxu2848.(none)>2011-06-17 13:42:19 +0200
commitdc17359937a07796fe19dd3a0d3b83fc411198f8 (patch)
tree0031d03a126bcc2f8a425df91dd8da803bb679c9
parentc4c5a5734f48935dae6bbefae0d68c37b3d0a19f (diff)
ux500: prcmu qos: Fix to be compatible with u5500 boards too
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
-rw-r--r--arch/arm/mach-ux500/include/mach/prcmu-qos.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ux500/include/mach/prcmu-qos.h b/arch/arm/mach-ux500/include/mach/prcmu-qos.h
index 00dcab689de..23bda305c5f 100644
--- a/arch/arm/mach-ux500/include/mach/prcmu-qos.h
+++ b/arch/arm/mach-ux500/include/mach/prcmu-qos.h
@@ -15,13 +15,13 @@
#define PRCMU_QOS_DDR_OPP 2
#define PRCMU_QOS_DEFAULT_VALUE -1
-#ifdef CONFIG_UX500_SOC_DB8500
+#ifdef CONFIG_UX500_PRCMU_QOS_POWER
unsigned long prcmu_qos_get_cpufreq_opp_delay(void);
void prcmu_qos_set_cpufreq_opp_delay(unsigned long);
void prcmu_qos_force_opp(int, s32);
-#else /* !CONFIG_UX500_SOC_DB8500 */
+#else
static inline unsigned long prcmu_qos_get_cpufreq_opp_delay(void)
{
@@ -32,7 +32,7 @@ static inline void prcmu_qos_set_cpufreq_opp_delay(unsigned long n) {}
static inline void prcmu_qos_force_opp(int prcmu_qos_class, s32 i) {}
-#endif /* CONFIG_UX500_SOC_DB8500 */
+#endif
#ifdef CONFIG_UX500_PRCMU_QOS_POWER