diff options
Diffstat (limited to 'drivers/usb/core/usb.c')
-rw-r--r-- | drivers/usb/core/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index 49b011f951b3..16ade41759cd 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c | |||
@@ -397,7 +397,7 @@ struct device_type usb_device_type = { | |||
397 | /* Returns 1 if @usb_bus is WUSB, 0 otherwise */ | 397 | /* Returns 1 if @usb_bus is WUSB, 0 otherwise */ |
398 | static unsigned usb_bus_is_wusb(struct usb_bus *bus) | 398 | static unsigned usb_bus_is_wusb(struct usb_bus *bus) |
399 | { | 399 | { |
400 | struct usb_hcd *hcd = container_of(bus, struct usb_hcd, self); | 400 | struct usb_hcd *hcd = bus_to_hcd(bus); |
401 | return hcd->wireless; | 401 | return hcd->wireless; |
402 | } | 402 | } |
403 | 403 | ||