Skip to content

Commit

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

0 comments on commit cae93db

Please sign in to comment.