From: Sachin Kamat Date: Thu, 31 Jan 2013 00:29:29 +0000 (+0900) Subject: extcon: max8997: Make max8997_extcon_cable static X-Git-Tag: v3.9-rc1~124^2~3^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cae93db3111a524c234397fc53b6a2fc51099528;p=thirdparty%2Flinux.git extcon: max8997: Make max8997_extcon_cable static 'max8997_extcon_cable' is used only in this file. Hence make it static. Signed-off-by: Sachin Kamat Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index df9358e30814c..7039541e837f6 100644 --- 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",