diff options
Diffstat (limited to 'drivers/usb/host/r8a66597-hcd.c')
-rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 3076b1cc05df..db6f8b9c19b6 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -2150,8 +2150,9 @@ static void r8a66597_hub_descriptor(struct r8a66597 *r8a66597, | |||
2150 | desc->bDescLength = 9; | 2150 | desc->bDescLength = 9; |
2151 | desc->bPwrOn2PwrGood = 0; | 2151 | desc->bPwrOn2PwrGood = 0; |
2152 | desc->wHubCharacteristics = cpu_to_le16(0x0011); | 2152 | desc->wHubCharacteristics = cpu_to_le16(0x0011); |
2153 | desc->bitmap[0] = ((1 << r8a66597->max_root_hub) - 1) << 1; | 2153 | desc->u.hs.DeviceRemovable[0] = |
2154 | desc->bitmap[1] = ~0; | 2154 | ((1 << r8a66597->max_root_hub) - 1) << 1; |
2155 | desc->u.hs.DeviceRemovable[1] = ~0; | ||
2155 | } | 2156 | } |
2156 | 2157 | ||
2157 | static int r8a66597_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, | 2158 | static int r8a66597_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, |