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: 2a9de9c0f0
("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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
03cb050301
commit
73b6ecdb93
@@ -200,7 +200,7 @@ enum max77693_muic_acc_type {
|
||||
/*
|
||||
* MAX77693 MUIC device support below list of accessories(external connector)
|
||||
*/
|
||||
static const enum extcon max77693_extcon_cable[] = {
|
||||
static const unsigned int max77693_extcon_cable[] = {
|
||||
EXTCON_USB,
|
||||
EXTCON_USB_HOST,
|
||||
EXTCON_TA,
|
||||
@@ -457,7 +457,7 @@ static int max77693_muic_dock_handler(struct max77693_muic_info *info,
|
||||
int ret = 0;
|
||||
int vbvolt;
|
||||
bool cable_attached;
|
||||
enum extcon dock_id;
|
||||
unsigned int dock_id;
|
||||
|
||||
dev_info(info->dev,
|
||||
"external connector is %s (adc:0x%02x)\n",
|
||||
|
Reference in New Issue
Block a user