diff options
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r-- | drivers/usb/core/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 3c9b22eb78ca..9ec5733b62f4 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -2659,7 +2659,7 @@ static unsigned hub_is_wusb(struct usb_hub *hub) | |||
2659 | struct usb_hcd *hcd; | 2659 | struct usb_hcd *hcd; |
2660 | if (hub->hdev->parent != NULL) /* not a root hub? */ | 2660 | if (hub->hdev->parent != NULL) /* not a root hub? */ |
2661 | return 0; | 2661 | return 0; |
2662 | hcd = container_of(hub->hdev->bus, struct usb_hcd, self); | 2662 | hcd = bus_to_hcd(hub->hdev->bus); |
2663 | return hcd->wireless; | 2663 | return hcd->wireless; |
2664 | } | 2664 | } |
2665 | 2665 | ||