From: Sergei Shtylyov Date: Sat, 28 Mar 2015 22:26:55 +0000 (+0300) Subject: sl811-hcd: use USB_DT_HUB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e283ef1549f7e9de198d1a8988eff97c9e42f878;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sl811-hcd: use USB_DT_HUB Fix using the bare number to set the 'bDescriptorType' field of the Hub Descriptor while the value is #define'd in . Signed-off-by: Sergei Shtylyov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index f1d5c5a11705..53e4fb75b04c 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -1091,7 +1091,7 @@ sl811h_hub_descriptor ( ) { u16 temp = 0; - desc->bDescriptorType = 0x29; + desc->bDescriptorType = USB_DT_HUB; desc->bHubContrCurrent = 0; desc->bNbrPorts = 1;