]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit2569ffd58b03d900f53b073054df4dc45ca67873
tree6627426adf81030558f1816d20c23714d10cd1a1
parent1cf6563b3e9ecdfd8378fb81484632f715607a04
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