From patchwork Sun Sep 25 11:16:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Add static keyword for rtc-pm8xxx.c Date: Sun, 25 Sep 2011 01:16:21 -0000 From: Navin P X-Patchwork-Id: 116275 Message-Id: <4E7F0D85.9020001@gmail.com> To: linux-kernel@vger.kernel.org Cc: a.zummo@towertech.it, rtc-linux@googlegroups.com, aghayal@codeaurora.org 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,