Commit b1e4a1f8 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: usb: fix hc_driver fields

Fix hc_driver description, product_desc and flags fields.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent cc9bd53e
...@@ -130,11 +130,12 @@ static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, ...@@ -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 = { static struct hc_driver usb_gb_hc_driver = {
.description = "greybus_usb", .description = "greybus-hcd",
.product_desc = "GB-Bridge USB Controller", /* TODO: Get this from GPB ?*/ .product_desc = "Greybus USB Host Controller",
.flags = HCD_MEMORY | HCD_USB2, /* FIXME: Get this from GPB */
.hcd_priv_size = sizeof(struct gb_usb_device), .hcd_priv_size = sizeof(struct gb_usb_device),
.flags = HCD_USB2,
.start = hcd_start, .start = hcd_start,
.stop = hcd_stop, .stop = hcd_stop,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment