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