]> git.baikalelectronics.ru Git - kernel.git/commit
isp1760-hcd: use USB_DT_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:40:24 +0000 (01:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:16 +0000 (19:03 +0200)
commita19220f5db79a59f096e15e61cfb17cfbb5bdd67
tree940c27c9b9a85ea965c909d1e47bfe6a98bf49e5
parent9819083fdc51f1ed63942ddd5137683d55259fe4
isp1760-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/isp1760/isp1760-hcd.c