From patchwork Wed Sep 29 09:22: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: 216772 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 o8T9Njnh006727 for ; Wed, 29 Sep 2010 09:23:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754923Ab0I2JXo (ORCPT ); Wed, 29 Sep 2010 05:23:44 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:38810 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752442Ab0I2JXo (ORCPT ); Wed, 29 Sep 2010 05:23:44 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o8T9Nhpw012525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Sep 2010 04:23:43 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o8T9NebF012108; Wed, 29 Sep 2010 04:23:40 -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 o8T9Ncf12183; Wed, 29 Sep 2010 04:23:39 -0500 (CDT) From: Silesh C V To: linux-omap@vger.kernel.org Cc: khilman@deeprootsystems.com, Silesh C V Subject: [PATCH v2] OMAP: PM: CPUFREQ: Fix conditional compilation Date: Wed, 29 Sep 2010 14:52:54 +0530 Message-Id: <1285752174-11394-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]); Wed, 29 Sep 2010 09:23:45 +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"