Skip to contentSkip to conversation

Add static keyword for rtc-pm8xxx.c

PATCH New Navin P 1 participant 1 message Sep 25, 2011

Subsystems (2)
lore
Share & tools
lore

Navin P

author
#0 lore raw

PATCH 1/1 Add static keyword for rtc-pm8xxx.c

Add static keyword as pm8xxx_rtc_pm_ops is not used outside this file. Maintain consistency with other files

---
 drivers/rtc/rtc-pm8xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-pm8xxx.c +1 -1
index d420e9d..c9c5ee1 100644
@@ -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,
Signature · 1 line
1.7.0.4