]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/phy/phy-tahvo.c
extcon: Use the unique id for external connector instead of string
[karo-tx-linux.git] / drivers / usb / phy / phy-tahvo.c
index 845f658276b106342907c7606a078dbfa47d06d1..1d1bb9ad8ccf07d252245009d11249e19fdc744b 100644 (file)
@@ -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,