]> git.baikalelectronics.ru Git - kernel.git/commit
ohci-hub: use USB_DT_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:19:48 +0000 (01:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:17 +0000 (19:03 +0200)
commit6ca54e07ec61a0d1bd0e75f70665ad9df9cd83d4
tree3250c646b4ff1e5b82fe7276beede51ae1b21b54
parentd5ddf504aac83c8d4131665a4a7fae4dcd7a00b3
ohci-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/ohci-hub.c