max3421-hcd: use USB_DT_HUB
commite3d02e0e54bce76e331529dd6f47d61cecc9d375
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:14:03 +0000 (29 01:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:18 +0000 (3 19:03 +0200)
tree58f1118c0de1de41184dc73bf8c485cce2d2db3b
parent7a2d2672b89d402312b4b741544ab5fdcd48df19
max3421-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 <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/max3421-hcd.c