projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d3243
)
extcon: max8997: Make max8997_extcon_cable static
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 31 Jan 2013 00:29:29 +0000
(09:29 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Wed, 13 Feb 2013 22:52:42 +0000
(07:52 +0900)
'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>
drivers/extcon/extcon-max8997.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-max8997.c
b/drivers/extcon/extcon-max8997.c
index df9358e30814c67e4033b98d9a446d3d7aa7853b..7039541e837f69aea91596927de13aca9fe56119 100644
(file)
--- 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",