From: Johan Hovold Date: Thu, 30 Jul 2015 18:30:39 +0000 (+0200) Subject: greybus: usb: fix hc_driver fields X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1e4a1f8519aebfbf99bee8b3839498f6645e2d7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git greybus: usb: fix hc_driver fields Fix hc_driver description, product_desc and flags fields. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c index 1ba731e6bfad..151e49f8e4ab 100644 --- a/drivers/staging/greybus/usb.c +++ b/drivers/staging/greybus/usb.c @@ -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,