public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add static keyword for rtc-pm8xxx.c
@ 2011-09-25 11:16 Navin P
  0 siblings, 0 replies; only message in thread
From: Navin P @ 2011-09-25 11:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: a.zummo, rtc-linux, aghayal

 Add static keyword as pm8xxx_rtc_pm_ops is not used outside this file.
 Maintain consistency with other files
 Signed-off-by: Navin P <zicrim@gmail.com>

---
 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,
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-25 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25 11:16 [PATCH] Add static keyword for rtc-pm8xxx.c Navin P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox