From patchwork Fri Sep 24 08:54:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Silesh C V X-Patchwork-Id: 203832 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8O8swkV003351 for ; Fri, 24 Sep 2010 08:54:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753276Ab0IXIy4 (ORCPT ); Fri, 24 Sep 2010 04:54:56 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:35033 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751758Ab0IXIy4 (ORCPT ); Fri, 24 Sep 2010 04:54:56 -0400 Received: from dlep35.itg.ti.com ([157.170.170.118]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o8O8stUl009377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 24 Sep 2010 03:54:55 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id o8O8sqtt013327; Fri, 24 Sep 2010 03:54:52 -0500 (CDT) Received: from localhost ([172.24.190.85]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o8O8spf26136; Fri, 24 Sep 2010 03:54:51 -0500 (CDT) From: Silesh C V To: linux-omap@vger.kernel.org Cc: Silesh C V Subject: [PATCH] OMAP: PM: CPUFREQ: Fix conditional compilation Date: Fri, 24 Sep 2010 14:24:54 +0530 Message-Id: <1285318494-22092-1-git-send-email-silesh@ti.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 24 Sep 2010 08:54:58 +0000 (UTC) diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c index df08829..02e4865 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"