greybus: usb: fix hc_driver fields
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 30 Jul 2015 18:30:39 +0000 (20:30 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 30 Jul 2015 20:49:49 +0000 (13:49 -0700)
Fix hc_driver description, product_desc and flags fields.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/usb.c

index 1ba731e..151e49f 100644 (file)
@@ -130,11 +130,12 @@ static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
 }
 
 static struct hc_driver usb_gb_hc_driver = {
-       .description = "greybus_usb",
-       .product_desc = "GB-Bridge USB Controller", /* TODO: Get this from GPB ?*/
-       .flags = HCD_MEMORY | HCD_USB2, /* FIXME: Get this from GPB */
+       .description = "greybus-hcd",
+       .product_desc = "Greybus USB Host Controller",
        .hcd_priv_size = sizeof(struct gb_usb_device),
 
+       .flags = HCD_USB2,
+
        .start = hcd_start,
        .stop = hcd_stop,