From patchwork Thu Jun 24 21:29:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 107925 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5OLTaoW005884 for ; Thu, 24 Jun 2010 21:29:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755794Ab0FXV3f (ORCPT ); Thu, 24 Jun 2010 17:29:35 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:49140 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755697Ab0FXV3b (ORCPT ); Thu, 24 Jun 2010 17:29:31 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o5OLTUmt006512 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jun 2010 16:29:31 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id o5OLTS45024328; Thu, 24 Jun 2010 16:29:28 -0500 (CDT) Received: from senorita (senorita.am.dhcp.ti.com [128.247.74.250]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o5OLTRP12167; Thu, 24 Jun 2010 16:29:27 -0500 (CDT) Received: by senorita (Postfix, from userid 1000) id 42CB6C1D8; Thu, 24 Jun 2010 16:29:27 -0500 (CDT) From: Nishanth Menon To: linux-omap Cc: Nishanth Menon , Kevin Hilman , Thara Gopinath Subject: [PM-SR][PATCH 3/4] omap3: voltage: make required variables static Date: Thu, 24 Jun 2010 16:29:25 -0500 Message-Id: <1277414966-31806-4-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1277414966-31806-3-git-send-email-nm@ti.com> References: <1277414966-31806-1-git-send-email-nm@ti.com> <1277414966-31806-2-git-send-email-nm@ti.com> <1277414966-31806-3-git-send-email-nm@ti.com> 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 (demeter.kernel.org [140.211.167.41]); Thu, 24 Jun 2010 21:29:37 +0000 (UTC) diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c index d289691..6927d6a 100644 --- a/arch/arm/mach-omap2/voltage.c +++ b/arch/arm/mach-omap2/voltage.c @@ -39,14 +39,14 @@ #define VP_TRANXDONE_TIMEOUT 300 #ifdef CONFIG_PM_DEBUG -struct dentry *voltage_dir; +static struct dentry *voltage_dir; #endif /* VP SR debug support */ u32 enable_sr_vp_debug; /* PRM voltage module */ -u32 volt_mod; +static u32 volt_mod; /* Voltage processor register offsets */ struct vp_reg_offs { @@ -127,7 +127,7 @@ static struct omap_vdd_info *vdd_info; static int no_scalable_vdd; /* OMAP3 VP register offsets and other definitions */ -struct __init vp_reg_offs omap3_vp_offs[] = { +static struct __init vp_reg_offs omap3_vp_offs[] = { /* VP1 */ { .vpconfig_reg = OMAP3_PRM_VP1_CONFIG_OFFSET,