mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] make eeepc-laptop.c:cm_{g,s}etv[] static
@ 2008-06-25 16:25 Adrian Bunk
  2008-06-25 19:21 ` Len Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-06-25 16:25 UTC (permalink / raw)
  To: Corentin Chary, Len Brown; +Cc: linux-kernel, Andrew Morton

This patch makes the needlessly global cm_{g,s}etv[] static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 5 May 2008

 drivers/misc/eeepc-laptop.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

4e41a5023994160e27b2b194d9e67e2208c948de diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c
index 6d72760..9e8d79e 100644
--- a/drivers/misc/eeepc-laptop.c
+++ b/drivers/misc/eeepc-laptop.c
@@ -87,7 +87,7 @@ enum {
 	CM_ASL_LID
 };
 
-const char *cm_getv[] = {
+static const char *cm_getv[] = {
 	"WLDG", NULL, NULL, NULL,
 	"CAMG", NULL, NULL, NULL,
 	NULL, "PBLG", NULL, NULL,
@@ -96,7 +96,7 @@ const char *cm_getv[] = {
 	"CRDG", "LIDG"
 };
 
-const char *cm_setv[] = {
+static const char *cm_setv[] = {
 	"WLDS", NULL, NULL, NULL,
 	"CAMS", NULL, NULL, NULL,
 	"SDSP", "PBLS", "HDPS", NULL,


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] make eeepc-laptop.c:cm_{g,s}etv[] static
  2008-06-25 16:25 [2.6 patch] make eeepc-laptop.c:cm_{g,s}etv[] static Adrian Bunk
@ 2008-06-25 19:21 ` Len Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Len Brown @ 2008-06-25 19:21 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Corentin Chary, Linux Kernel Mailing List, Andrew Morton


applied.

thanks,
-len

On Wed, 25 Jun 2008, Adrian Bunk wrote:

> This patch makes the needlessly global cm_{g,s}etv[] static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> 
> This patch has been sent on:
> - 5 May 2008
> 
>  drivers/misc/eeepc-laptop.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> 4e41a5023994160e27b2b194d9e67e2208c948de diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c
> index 6d72760..9e8d79e 100644
> --- a/drivers/misc/eeepc-laptop.c
> +++ b/drivers/misc/eeepc-laptop.c
> @@ -87,7 +87,7 @@ enum {
>  	CM_ASL_LID
>  };
>  
> -const char *cm_getv[] = {
> +static const char *cm_getv[] = {
>  	"WLDG", NULL, NULL, NULL,
>  	"CAMG", NULL, NULL, NULL,
>  	NULL, "PBLG", NULL, NULL,
> @@ -96,7 +96,7 @@ const char *cm_getv[] = {
>  	"CRDG", "LIDG"
>  };
>  
> -const char *cm_setv[] = {
> +static const char *cm_setv[] = {
>  	"WLDS", NULL, NULL, NULL,
>  	"CAMS", NULL, NULL, NULL,
>  	"SDSP", "PBLS", "HDPS", NULL,
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [2.6 patch] make eeepc-laptop.c:cm_{g,s}etv[] static
@ 2008-05-05 18:25 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-05-05 18:25 UTC (permalink / raw)
  To: Corentin Chary, Len Brown; +Cc: linux-kernel

This patch makes the needlessly global cm_{g,s}etv[] static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/misc/eeepc-laptop.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

4e41a5023994160e27b2b194d9e67e2208c948de diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c
index 6d72760..9e8d79e 100644
--- a/drivers/misc/eeepc-laptop.c
+++ b/drivers/misc/eeepc-laptop.c
@@ -87,7 +87,7 @@ enum {
 	CM_ASL_LID
 };
 
-const char *cm_getv[] = {
+static const char *cm_getv[] = {
 	"WLDG", NULL, NULL, NULL,
 	"CAMG", NULL, NULL, NULL,
 	NULL, "PBLG", NULL, NULL,
@@ -96,7 +96,7 @@ const char *cm_getv[] = {
 	"CRDG", "LIDG"
 };
 
-const char *cm_setv[] = {
+static const char *cm_setv[] = {
 	"WLDS", NULL, NULL, NULL,
 	"CAMS", NULL, NULL, NULL,
 	"SDSP", "PBLS", "HDPS", NULL,


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-25 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-25 16:25 [2.6 patch] make eeepc-laptop.c:cm_{g,s}etv[] static Adrian Bunk
2008-06-25 19:21 ` Len Brown
  -- strict thread matches above, loose matches on Subject: below --
2008-05-05 18:25 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome