diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-31 01:29:29 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-02-13 23:52:42 +0100 |
commit | cae93db3111a524c234397fc53b6a2fc51099528 (patch) | |
tree | 0c23921f8efdf72949be7b542d213f62075d1dc7 /drivers/extcon | |
parent | extcon: max77693: Remove unnecessary goto statement to improve readability (diff) | |
download | linux-cae93db3111a524c234397fc53b6a2fc51099528.tar.xz linux-cae93db3111a524c234397fc53b6a2fc51099528.zip |
extcon: max8997: Make max8997_extcon_cable static
'max8997_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-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 df9358e30814..7039541e837f 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", |