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:
6a462e1
)
extcon: max77693: Make max77693_extcon_cable static
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 31 Jan 2013 00:31:47 +0000
(09:31 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Wed, 13 Feb 2013 22:52:49 +0000
(07:52 +0900)
'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>
drivers/extcon/extcon-max77693.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-max77693.c
b/drivers/extcon/extcon-max77693.c
index
ad6e9a4
..
b70e381
100644
(file)
--- a/
drivers/extcon/extcon-max77693.c
+++ b/
drivers/extcon/extcon-max77693.c
@@
-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",