diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-31 01:31:47 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-02-13 23:52:49 +0100 |
commit | 45d4a4e6f5e5dcdd00b7c9d370cfb9694358e4e9 (patch) | |
tree | 0849e49eff8887448b0393b9f0bdb50c0c0f4faa /drivers/extcon | |
parent | extcon: max8997: Remove unreachable code (diff) | |
download | linux-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>
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 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", |