Skip to content

Commit

Permalink
extcon: max77693: Make max77693_extcon_cable static
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Sachin Kamat authored and Chanwoo Choi committed Feb 13, 2013
1 parent 6a462e1 commit 45d4a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/extcon/extcon-max77693.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 45d4a4e

Please sign in to comment.