From patchwork Sun May 29 23:19:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 828942 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4TNJsZN029635 for ; Sun, 29 May 2011 23:19:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753177Ab1E2XTx (ORCPT ); Sun, 29 May 2011 19:19:53 -0400 Received: from na3sys009aob106.obsmtp.com ([74.125.149.76]:40808 "EHLO na3sys009aog106.obsmtp.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752911Ab1E2XTw (ORCPT ); Sun, 29 May 2011 19:19:52 -0400 Received: from mail-gw0-f42.google.com ([74.125.83.42]) (using TLSv1) by na3sys009aob106.postini.com ([74.125.148.12]) with SMTP ID DSNKTeLUl/+LVlss84eNYvenAlNZ/OWrCm5t@postini.com; Sun, 29 May 2011 16:19:52 PDT Received: by gwb17 with SMTP id 17so1516940gwb.29 for ; Sun, 29 May 2011 16:19:51 -0700 (PDT) Received: by 10.236.192.162 with SMTP id i22mr4886208yhn.139.1306711191329; Sun, 29 May 2011 16:19:51 -0700 (PDT) Received: from localhost (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id a5sm2108660yhj.36.2011.05.29.16.19.49 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 May 2011 16:19:50 -0700 (PDT) From: Nishanth Menon To: linux-omap Cc: Kevin , Nishanth Menon Subject: [pm_wip/voltdm_nm][PATCH v2 3/3] OMAP4: PM: VC: make omap_vc_i2c_init static Date: Sun, 29 May 2011 16:19:40 -0700 Message-Id: <1306711180-8631-4-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1306711180-8631-1-git-send-email-nm@ti.com> References: <1306711180-8631-1-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.6 (demeter2.kernel.org [140.211.167.43]); Sun, 29 May 2011 23:19:54 +0000 (UTC) The only user of omap_vc_i2c_init is vc.c itself, makes no reason for us to expose it out. This also fixes the sparse warning: arch/arm/mach-omap2/vc.c:207:13: warning: symbol 'omap_vc_i2c_init' was not declared. Should it be static? Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/vc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/vc.c b/arch/arm/mach-omap2/vc.c index 42c77a8..d0b52cc 100644 --- a/arch/arm/mach-omap2/vc.c +++ b/arch/arm/mach-omap2/vc.c @@ -204,7 +204,7 @@ static void __init omap4_vc_init_channel(struct voltagedomain *voltdm) * channel registers. All other VC channels will use the * same configuration. */ -void __init omap_vc_i2c_init(struct voltagedomain *voltdm) +static void __init omap_vc_i2c_init(struct voltagedomain *voltdm) { struct omap_vc_channel *vc = voltdm->vc; static bool initialized;