diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-03-28 22:26:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 17:03:17 (GMT) |
commit | e283ef1549f7e9de198d1a8988eff97c9e42f878 (patch) | |
tree | 90dc02317f844b90f9533eb87b26655c45102b2f /drivers/usb | |
parent | 0ce6fe9e1b4666ebccb403e6fa4e8304599d50bd (diff) | |
download | linux-e283ef1549f7e9de198d1a8988eff97c9e42f878.tar.xz |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index f1d5c5a1..53e4fb7 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -1091,7 +1091,7 @@ sl811h_hub_descriptor ( ) { u16 temp = 0; - desc->bDescriptorType = 0x29; + desc->bDescriptorType = USB_DT_HUB; desc->bHubContrCurrent = 0; desc->bNbrPorts = 1; |