[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1324094127.2554.0.camel@phoenix>
Date: Sat, 17 Dec 2011 11:55:27 +0800
From: Axel Lin <axel.lin@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Alessandro Zummo <a.zummo@...ertech.it>,
rtc-linux@...glegroups.com,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] rtc: Staticise jz4740_rtc_driver
jz4740_rtc_driver is not used outside this driver so no need to
make the symbol global.
Signed-off-by: Axel Lin <axel.lin@...il.com>
---
drivers/rtc/rtc-jz4740.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
index 1481e36..05ab227 100644
--- a/drivers/rtc/rtc-jz4740.c
+++ b/drivers/rtc/rtc-jz4740.c
@@ -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 = {
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists