OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
df9358e
..
7039541
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",