drm/radeon: fix underflow in r600_cp_dispatch_texture()
[firefly-linux-kernel-4.4.55.git] / drivers / usb / phy / phy-tahvo.c
index 2b28443d07b92daed26660f1d80f0bd390937992..b40d6a87d69491b3a016c2a481026580a2d9a143 100644 (file)
@@ -60,10 +60,11 @@ struct tahvo_usb {
        struct extcon_dev       extcon;
 };
 
-static const char *tahvo_cable[] = {
-       "USB-HOST",
-       "USB",
-       NULL,
+static const unsigned int tahvo_cable[] = {
+       EXTCON_USB,
+       EXTCON_USB_HOST,
+
+       EXTCON_NONE,
 };
 
 static ssize_t vbus_state_show(struct device *device,