diff mbox

rtc: rtc-mc13xxx: Staticize mc13xxx_rtc_idtable

Message ID 1317825827.5849.1.camel@phoenix
State Superseded
Headers show

Commit Message

Axel Lin Oct. 5, 2011, 2:43 p.m. UTC
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/rtc/rtc-mc13xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Uwe Kleine-König Oct. 5, 2011, 6:49 p.m. UTC | #1
On Wed, Oct 05, 2011 at 10:43:47PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
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

> ---
>  drivers/rtc/rtc-mc13xxx.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 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",
>  	}, {
diff mbox

Patch

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",
 	}, {