summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max77843.c
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-06-12 04:10:06 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-13 02:01:42 +0200
commit73b6ecdb93e8e77752cae9077c424fcdc6f23c39 (patch)
treeb5835ea1ec76678325e73280209384361f82b695 /drivers/extcon/extcon-max77843.c
parentchar:xilinx_hwicap:buffer_icap - change 1/0 to true/false for bool type varia... (diff)
downloadlinux-73b6ecdb93e8e77752cae9077c424fcdc6f23c39.tar.xz
linux-73b6ecdb93e8e77752cae9077c424fcdc6f23c39.zip
extcon: Redefine the unique id of supported external connectors without 'enum extcon' type
This patch just redefine the unique id of supported external connectors without 'enum extcon' type. Because unique id would be used on devictree file(*.dts) to indicate the specific external connectors like key number of input framework. So, I have the plan to move this definitions to following header file which includes the unique id of supported external connectors. - include/dt-bindings/extcon/extcon.h Fixes: 2a9de9c0f08d ("extcon: Use the unique id for external connector instead of string") Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon/extcon-max77843.c')
-rw-r--r--drivers/extcon/extcon-max77843.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77843.c b/drivers/extcon/extcon-max77843.c
index d78a64d7fc20..fac2f1417a79 100644
--- a/drivers/extcon/extcon-max77843.c
+++ b/drivers/extcon/extcon-max77843.c
@@ -118,7 +118,7 @@ enum max77843_muic_charger_type {
MAX77843_MUIC_CHG_GND,
};
-static const enum extcon max77843_extcon_cable[] = {
+static const unsigned int max77843_extcon_cable[] = {
EXTCON_USB,
EXTCON_USB_HOST,
EXTCON_TA,