From patchwork Sun Sep 25 11:16:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Navin P X-Patchwork-Id: 116275 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-yw0-f56.google.com (mail-yw0-f56.google.com [209.85.213.56]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id AC44EB6F75 for ; Sun, 25 Sep 2011 21:30:15 +1000 (EST) Received: by ywt32 with SMTP id 32sf2380157ywt.11 for ; Sun, 25 Sep 2011 04:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:date:from:user-agent :mime-version:to:cc:subject:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=6fRGVmcT2vBee3vRbfd0B4fGYqq6z+vF9lLMISYmurQ=; b=n3xxfh82jDinXN+V9Ss317IjyhUN/w7pbe/CbEMnFqIcNX0kBxuuIqkq+Nt1K7gtyb q8HZAb28DLYJ7jygNOIf7orVtp43BEr18EwLyk9VNEcaacaz3L3nUXpMr3g7x30hDsUk zd1eJk2SJBUPgFyBy05Cod+lVLKFIdfZATsjQ= Received: by 10.236.190.200 with SMTP id e48mr4536796yhn.1.1316950212048; Sun, 25 Sep 2011 04:30:12 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.101.196.15 with SMTP id y15ls4267632anp.1.gmail; Sun, 25 Sep 2011 04:30:11 -0700 (PDT) Received: by 10.101.139.7 with SMTP id r7mr4306687ann.40.1316950211665; Sun, 25 Sep 2011 04:30:11 -0700 (PDT) Received: by 10.101.139.7 with SMTP id r7mr4306686ann.40.1316950211647; Sun, 25 Sep 2011 04:30:11 -0700 (PDT) Received: from mail-yi0-f47.google.com (mail-yi0-f47.google.com [209.85.218.47]) by gmr-mx.google.com with ESMTPS id g1si18195816anp.1.2011.09.25.04.30.11 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Sep 2011 04:30:11 -0700 (PDT) Received-SPF: pass (google.com: domain of zicrim@gmail.com designates 209.85.218.47 as permitted sender) client-ip=209.85.218.47; Received: by yia27 with SMTP id 27so4740248yia.6 for ; Sun, 25 Sep 2011 04:30:11 -0700 (PDT) Received: by 10.68.19.100 with SMTP id d4mr22435433pbe.34.1316950211318; Sun, 25 Sep 2011 04:30:11 -0700 (PDT) Received: from [74.125.53.16] (pal01cs001.americas.hp.net. [15.243.169.69]) by mx.google.com with ESMTPS id p9sm20351938pbq.12.2011.09.25.04.30.07 (version=SSLv3 cipher=OTHER); Sun, 25 Sep 2011 04:30:10 -0700 (PDT) Message-ID: <4E7F0D85.9020001@gmail.com> Date: Sun, 25 Sep 2011 16:46:21 +0530 From: Navin P User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org CC: a.zummo@towertech.it, rtc-linux@googlegroups.com, aghayal@codeaurora.org Subject: [rtc-linux] [PATCH] Add static keyword for rtc-pm8xxx.c X-Original-Sender: zicrim@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of zicrim@gmail.com designates 209.85.218.47 as permitted sender) smtp.mail=zicrim@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , Add static keyword as pm8xxx_rtc_pm_ops is not used outside this file. Maintain consistency with other files Signed-off-by: Navin P --- drivers/rtc/rtc-pm8xxx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c index d420e9d..c9c5ee1 100644 --- a/drivers/rtc/rtc-pm8xxx.c +++ b/drivers/rtc/rtc-pm8xxx.c @@ -520,7 +520,7 @@ static int pm8xxx_rtc_suspend(struct device *dev) } #endif -SIMPLE_DEV_PM_OPS(pm8xxx_rtc_pm_ops, pm8xxx_rtc_suspend, pm8xxx_rtc_resume); +static SIMPLE_DEV_PM_OPS(pm8xxx_rtc_pm_ops, pm8xxx_rtc_suspend, pm8xxx_rtc_resume); static struct platform_driver pm8xxx_rtc_driver = { .probe = pm8xxx_rtc_probe,