Re: [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static

2013-02-03 Thread Chanwoo Choi

On 01/29/2013 06:40 PM, Sachin Kamat wrote:

'max8997_extcon_cable' is used only in this file. Hence make it static.

Signed-off-by: Sachin Kamat
---
  drivers/extcon/extcon-max8997.c |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
index df9358e..7039541 100644
--- a/drivers/extcon/extcon-max8997.c
+++ b/drivers/extcon/extcon-max8997.c
@@ -109,7 +109,7 @@ struct max8997_muic_info {
struct extcon_dev   *edev;
  };
  
-const char *max8997_extcon_cable[] = {

+static const char *max8997_extcon_cable[] = {
[0] = "USB",
[1] = "USB-Host",
[2] = "TA",

Patches 1-3 applied.

Thanks,
Chanwoo Choi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static

2013-02-03 Thread Chanwoo Choi

On 01/29/2013 06:40 PM, Sachin Kamat wrote:

'max8997_extcon_cable' is used only in this file. Hence make it static.

Signed-off-by: Sachin Kamatsachin.ka...@linaro.org
---
  drivers/extcon/extcon-max8997.c |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
index df9358e..7039541 100644
--- a/drivers/extcon/extcon-max8997.c
+++ b/drivers/extcon/extcon-max8997.c
@@ -109,7 +109,7 @@ struct max8997_muic_info {
struct extcon_dev   *edev;
  };
  
-const char *max8997_extcon_cable[] = {

+static const char *max8997_extcon_cable[] = {
[0] = USB,
[1] = USB-Host,
[2] = TA,

Patches 1-3 applied.

Thanks,
Chanwoo Choi
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static

2013-01-29 Thread Sachin Kamat
'max8997_extcon_cable' is used only in this file. Hence make it static.

Signed-off-by: Sachin Kamat 
---
 drivers/extcon/extcon-max8997.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
index df9358e..7039541 100644
--- a/drivers/extcon/extcon-max8997.c
+++ b/drivers/extcon/extcon-max8997.c
@@ -109,7 +109,7 @@ struct max8997_muic_info {
struct extcon_dev   *edev;
 };
 
-const char *max8997_extcon_cable[] = {
+static const char *max8997_extcon_cable[] = {
[0] = "USB",
[1] = "USB-Host",
[2] = "TA",
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static

2013-01-29 Thread Sachin Kamat
'max8997_extcon_cable' is used only in this file. Hence make it static.

Signed-off-by: Sachin Kamat sachin.ka...@linaro.org
---
 drivers/extcon/extcon-max8997.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
index df9358e..7039541 100644
--- a/drivers/extcon/extcon-max8997.c
+++ b/drivers/extcon/extcon-max8997.c
@@ -109,7 +109,7 @@ struct max8997_muic_info {
struct extcon_dev   *edev;
 };
 
-const char *max8997_extcon_cable[] = {
+static const char *max8997_extcon_cable[] = {
[0] = USB,
[1] = USB-Host,
[2] = TA,
-- 
1.7.4.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/