diff options
Diffstat (limited to 'drivers/usb')
-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 e4b0e28f7453..06af970e1064 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -1676,7 +1676,7 @@ static int usb_configure_device_otg(struct usb_device *udev) | |||
1676 | if (!udev->bus->is_b_host | 1676 | if (!udev->bus->is_b_host |
1677 | && udev->config | 1677 | && udev->config |
1678 | && udev->parent == udev->bus->root_hub) { | 1678 | && udev->parent == udev->bus->root_hub) { |
1679 | struct usb_otg_descriptor *desc = 0; | 1679 | struct usb_otg_descriptor *desc = NULL; |
1680 | struct usb_bus *bus = udev->bus; | 1680 | struct usb_bus *bus = udev->bus; |
1681 | 1681 | ||
1682 | /* descriptor may appear anywhere in config */ | 1682 | /* descriptor may appear anywhere in config */ |