summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@nvidia.com>2013-09-09 13:20:28 +0100
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-26 19:46:24 -0700
commitd8c31665d44f4bb56117e79a3afc90398903216f (patch)
treee5d57f173a03b3e1ca40832cfe91ecc9974f1bfb /drivers/extcon
parent54fc08c2a5938a3ba180d699237a9ca0998b0c67 (diff)
extcon: palmas: fix compile warning on const
Change-Id: Ifa94530982b6817f761ec991de87b43c1634b954 Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/272032 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-palmas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c
index f34c8371e5cf..c84f36216f7b 100644
--- a/drivers/extcon/extcon-palmas.c
+++ b/drivers/extcon/extcon-palmas.c
@@ -44,7 +44,7 @@ enum palmas_usb_cable_id {
USB_CABLE_ID_FLOAT,
};
-static const char *const palmas_extcon_cable[] = {
+static char const *palmas_extcon_cable[] = {
[0] = "USB",
[1] = "USB-Host",
[2] = "USB-ID-A",