]> 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)
commit41a5c0f2442e6c5a59078cfce4ac9e87330521bb
tree3250c646b4ff1e5b82fe7276beede51ae1b21b54
parent08fa987f5d6b8e400e9470bf7bfbb6f7bce22725
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