Patchwork rtc: rtc-mc13xxx: Staticize mc13xxx_rtc_idtable

login
register
mail settings
Submitter Axel Lin
Date Oct. 5, 2011, 2:43 p.m.
Message ID <1317825827.5849.1.camel@phoenix>
Download mbox | patch
Permalink /patch/117871/
State New
Headers show

Comments

Axel Lin - Oct. 5, 2011, 2:43 p.m.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/rtc/rtc-mc13xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Uwe Kleine-K├Ânig - Oct. 5, 2011, 6:49 p.m.
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",
>  	}, {

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