aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hub.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r--drivers/usb/core/hub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 9cd77a2af821..d337ef80bf43 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1294,6 +1294,7 @@ descriptor_error:
1294 return -ENODEV; 1294 return -ENODEV;
1295} 1295}
1296 1296
1297/* No BKL needed */
1297static int 1298static int
1298hub_ioctl(struct usb_interface *intf, unsigned int code, void *user_data) 1299hub_ioctl(struct usb_interface *intf, unsigned int code, void *user_data)
1299{ 1300{
@@ -3465,7 +3466,7 @@ static struct usb_driver hub_driver = {
3465 .reset_resume = hub_reset_resume, 3466 .reset_resume = hub_reset_resume,
3466 .pre_reset = hub_pre_reset, 3467 .pre_reset = hub_pre_reset,
3467 .post_reset = hub_post_reset, 3468 .post_reset = hub_post_reset,
3468 .ioctl = hub_ioctl, 3469 .unlocked_ioctl = hub_ioctl,
3469 .id_table = hub_id_table, 3470 .id_table = hub_id_table,
3470 .supports_autosuspend = 1, 3471 .supports_autosuspend = 1,
3471}; 3472};