]> git.baikalelectronics.ru Git - kernel.git/commit
max3421-hcd: use USB_DT_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:14:03 +0000 (01:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:18 +0000 (19:03 +0200)
commita982adbdcd414a5f77ef99683cf891d0fc0dd8c4
tree58f1118c0de1de41184dc73bf8c485cce2d2db3b
parent6ca54e07ec61a0d1bd0e75f70665ad9df9cd83d4
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