]> git.baikalelectronics.ru Git - kernel.git/commit
dummy_hcd: use USB_DT[_SS]_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:39:09 +0000 (01:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:16 +0000 (19:03 +0200)
commita460d38e6d228da4cbec1ffe6541a6fc64be9794
tree6627426adf81030558f1816d20c23714d10cd1a1
parenta19220f5db79a59f096e15e61cfb17cfbb5bdd67
dummy_hcd: use USB_DT[_SS]_HUB

Fix  using  the  bare numbers to set the 'bDescriptorType' field of the Hub
Descriptors while the values are #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/gadget/udc/dummy_hcd.c