Skip to contentSkip to conversation

rtc: Staticise jz4740_rtc_driver

PATCH New Axel Lin 1 participant 1 message Dec 17, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 rtc: Staticise jz4740_rtc_driver

jz4740_rtc_driver is not used outside this driver so no need to make the symbol global.

---
 drivers/rtc/rtc-jz4740.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-jz4740.c +1 -1
index 1481e36..05ab227 100644
@@ -345,7 +345,7 @@ static const struct dev_pm_ops jz4740_pm_ops = {
 #define JZ4740_RTC_PM_OPS NULL
 #endif  /* CONFIG_PM */
 
-struct platform_driver jz4740_rtc_driver = {
+static struct platform_driver jz4740_rtc_driver = {
 	.probe	 = jz4740_rtc_probe,
 	.remove	 = __devexit_p(jz4740_rtc_remove),
 	.driver	 = {
Signature · 1 line
1.7.5.4