]> git.baikalelectronics.ru Git - kernel.git/commit
sl811-hcd: use USB_DT_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:26:55 +0000 (01:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:17 +0000 (19:03 +0200)
commit66ebf03f0c08d749020199b863b429668c17635b
tree90dc02317f844b90f9533eb87b26655c45102b2f
parentc0a78a71b1c697fc6071f3dc3089c1c48ca0567e
sl811-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/host/sl811-hcd.c