Skip to contentSkip to conversation

rtc: rtc-mc13xxx: Staticize mc13xxx_rtc_idtable

PATCH Superseded Axel Lin 2 participants 2 messages Oct 5, 2011 Real time clock (RTC)

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 rtc: rtc-mc13xxx: Staticize mc13xxx_rtc_idtable

---
 drivers/rtc/rtc-mc13xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-mc13xxx.c +1 -1
index 9d0c3b4..546f685 100644
@@ -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",
 	}, {
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 1 line · Axel Lin

I have that change in my tree, too, in a combo commit that still needs splitting and mailing out.

Thanks and Acked-by: me.
Uwe

Quoted 17 lines
---
 drivers/rtc/rtc-mc13xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-mc13xxx.c +1 -1
index 9d0c3b4..546f685 100644
@@ -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",
 	}, {
Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |