summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-01-31 01:31:47 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2013-02-13 23:52:49 +0100
commit45d4a4e6f5e5dcdd00b7c9d370cfb9694358e4e9 (patch)
tree0849e49eff8887448b0393b9f0bdb50c0c0f4faa
parentextcon: max8997: Remove unreachable code (diff)
downloadlinux-45d4a4e6f5e5dcdd00b7c9d370cfb9694358e4e9.tar.xz
linux-45d4a4e6f5e5dcdd00b7c9d370cfb9694358e4e9.zip
extcon: max77693: Make max77693_extcon_cable static
'max77693_extcon_cable' is used only in this file. Hence make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--drivers/extcon/extcon-max77693.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
index ad6e9a466855..b70e3815c459 100644
--- a/drivers/extcon/extcon-max77693.c
+++ b/drivers/extcon/extcon-max77693.c
@@ -185,7 +185,7 @@ enum {
_EXTCON_CABLE_NUM,
};
-const char *max77693_extcon_cable[] = {
+static const char *max77693_extcon_cable[] = {
[EXTCON_CABLE_USB] = "USB",
[EXTCON_CABLE_USB_HOST] = "USB-Host",
[EXTCON_CABLE_TA] = "TA",