]> git.baikalelectronics.ru Git - kernel.git/commit
wusbcore: rh: use USB_DT_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:46:39 +0000 (01:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:15 +0000 (19:03 +0200)
commit9875dbb2a29c0e7ba74cfa3f4cfff9e132116d2b
tree67a4b96e55df89f92c76806db0f9797b54ee2060
parent57d1010416ed3276774e1fc01b8416e926e5ae46
wusbcore: rh: 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/wusbcore/rh.c