Search
SailfishOS Open Build Service
>
Projects
>
home:dcthang:branches:nemo:devel:hw:ti:omap3:n900
>
kernel-adaptation-n900
> linux-2.6-cpufreq-0013-OMAP-PM-CPUFREQ-Fix-conditional-compilation.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File linux-2.6-cpufreq-0013-OMAP-PM-CPUFREQ-Fix-conditional-compilation.patch of Package kernel-adaptation-n900
From 2d0e8cf68965266e198ae039c4d831a401df658b Mon Sep 17 00:00:00 2001 From: Silesh C V <silesh@ti.com> Date: Wed, 29 Sep 2010 14:52:54 +0530 Subject: [PATCH 13/32] OMAP: PM: CPUFREQ: Fix conditional compilation Fix conditional compilation. A conditional expresiion should follow "#elif", in this case #elif clause should check whether CONFIG_ARCH_OMAP3 is defined or not (ie. defined(CONFIG_ARCH_OMAP3)) rather than checking for the value of the macro. Signed-off-by: Silesh C V <silesh@ti.com> --- arch/arm/plat-omap/cpu-omap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c index 7753e86..c47faf8 100644 --- a/arch/arm/plat-omap/cpu-omap.c +++ b/arch/arm/plat-omap/cpu-omap.c @@ -41,7 +41,7 @@ static struct cpufreq_frequency_table *freq_table; #ifdef CONFIG_ARCH_OMAP1 #define MPU_CLK "mpu" -#elif CONFIG_ARCH_OMAP3 +#elif defined(CONFIG_ARCH_OMAP3) #define MPU_CLK "arm_fck" #else #define MPU_CLK "virt_prcm_set" -- 1.7.0.4