projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extcon: Use the unique id for external connector instead of string
[linux-2.6-block.git]
/
drivers
/
usb
/
phy
/
phy-tahvo.c
diff --git
a/drivers/usb/phy/phy-tahvo.c
b/drivers/usb/phy/phy-tahvo.c
index 845f658276b106342907c7606a078dbfa47d06d1..1d1bb9ad8ccf07d252245009d11249e19fdc744b 100644
(file)
--- a/
drivers/usb/phy/phy-tahvo.c
+++ b/
drivers/usb/phy/phy-tahvo.c
@@
-60,10
+60,11
@@
struct tahvo_usb {
struct extcon_dev extcon;
};
-static const char *tahvo_cable[] = {
- "USB-HOST",
- "USB",
- NULL,
+static const enum extcon tahvo_cable[] = {
+ EXTCON_USB,
+ EXTCON_USB_HOST,
+
+ EXTCON_NONE,
};
static ssize_t vbus_state_show(struct device *device,