提交 45d4a4e6 编写于 作者: S Sachin Kamat 提交者: Chanwoo Choi

extcon: max77693: Make max77693_extcon_cable static

'max77693_extcon_cable' is used only in this file. Hence
make it static.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: NMyungjoo Ham <myungjoo.ham@samsung.com>
上级 6a462e1d
...@@ -185,7 +185,7 @@ enum { ...@@ -185,7 +185,7 @@ enum {
_EXTCON_CABLE_NUM, _EXTCON_CABLE_NUM,
}; };
const char *max77693_extcon_cable[] = { static const char *max77693_extcon_cable[] = {
[EXTCON_CABLE_USB] = "USB", [EXTCON_CABLE_USB] = "USB",
[EXTCON_CABLE_USB_HOST] = "USB-Host", [EXTCON_CABLE_USB_HOST] = "USB-Host",
[EXTCON_CABLE_TA] = "TA", [EXTCON_CABLE_TA] = "TA",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册