diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-31 09:31:47 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-02-14 07:52:49 +0900 |
commit | 45d4a4e6f5e5dcdd00b7c9d370cfb9694358e4e9 (patch) | |
tree | 0849e49eff8887448b0393b9f0bdb50c0c0f4faa /drivers/extcon | |
parent | 6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2 (diff) | |
download | op-kernel-dev-45d4a4e6f5e5dcdd00b7c9d370cfb9694358e4e9.zip op-kernel-dev-45d4a4e6f5e5dcdd00b7c9d370cfb9694358e4e9.tar.gz |
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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index ad6e9a4..b70e381 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", |