]> 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)
commit4545945c8b9f390ee612de1ee6301ae53c36f524
tree67a4b96e55df89f92c76806db0f9797b54ee2060
parent4852e7e08e9693cff76c56d8e753bc56e0552f09
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