[RESEND] rtc: rtc-mc13xxx: Staticize mc13xxx_rtc_idtable

Submitted by Axel Lin on Dec. 15, 2011, 6:50 a.m.

Details

Message ID 1323931833.3305.3.camel@phoenix
State Accepted
Headers show

Commit Message

Axel Lin Dec. 15, 2011, 6:50 a.m.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
It was sent on https://lkml.org/lkml/2011/10/5/201.

 drivers/rtc/rtc-mc13xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Jean-Christophe PLAGNIOL-VILLARD Dec. 18, 2011, 12:50 p.m.
On 14:50 Thu 15 Dec     , Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

Best Regarfds,
J.

Patch hide | download patch | download mbox

diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c
index 9d0c3b4..546f685 100644
--- a/drivers/rtc/rtc-mc13xxx.c
+++ b/drivers/rtc/rtc-mc13xxx.c
@@ -399,7 +399,7 @@  static int __exit mc13xxx_rtc_remove(struct platform_device *pdev)
 	return 0;
 }
 
-const struct platform_device_id mc13xxx_rtc_idtable[] = {
+static const struct platform_device_id mc13xxx_rtc_idtable[] = {
 	{
 		.name = "mc13783-rtc",
 	}, {