From dc17359937a07796fe19dd3a0d3b83fc411198f8 Mon Sep 17 00:00:00 2001 From: Philippe Langlais Date: Thu, 16 Jun 2011 14:48:04 +0200 Subject: ux500: prcmu qos: Fix to be compatible with u5500 boards too Signed-off-by: Philippe Langlais --- arch/arm/mach-ux500/include/mach/prcmu-qos.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arch/arm/mach-ux500/include/mach') 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 -- cgit v1.2.3