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