ehci-hub: use USB_DT_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:03:03 +0000 (01:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:19 +0000 (19:03 +0200)
commit625a4c5910cc8aa63da2afcf662aeb2ca64458e1
treec212e270c0c0d7f11fe344841830b3594132606c
parent51a114bc5d20d6540418bc40422a9631cfa73da8
ehci-hub: 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 <linux/usb/ch11.h>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-hub.c