linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static
@ 2013-01-29  9:40 Sachin Kamat
  2013-01-29  9:40 ` [PATCH 2/3] extcon: max8997: Remove unreachable code Sachin Kamat
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-01-29  9:40 UTC (permalink / raw)
  To: linux-kernel; +Cc: cw00.choi, myungjoo.ham, sachin.kamat, dg77.kim

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

Signed-off-by: Sachin Kamat <sachin.kamat@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


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

end of thread, other threads:[~2013-02-04  1:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29  9:40 [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static Sachin Kamat
2013-01-29  9:40 ` [PATCH 2/3] extcon: max8997: Remove unreachable code Sachin Kamat
2013-01-29  9:40 ` [PATCH 3/3] extcon: max77693: Make max77693_extcon_cable static Sachin Kamat
2013-02-04  1:11 ` [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).