extcon: max8997: Make max8997_extcon_cable static
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 31 Jan 2013 00:29:29 +0000 (09:29 +0900)
committerChanwoo 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

index df9358e..7039541 100644 (file)
@@ -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",