aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/mon
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/mon')
-rw-r--r--drivers/usb/mon/mon_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mon/mon_main.c b/drivers/usb/mon/mon_main.c
index 442d8076b201..5e0ab4201c00 100644
--- a/drivers/usb/mon/mon_main.c
+++ b/drivers/usb/mon/mon_main.c
@@ -361,12 +361,12 @@ static int __init mon_init(void)
361 } 361 }
362 // MOD_INC_USE_COUNT(which_module?); 362 // MOD_INC_USE_COUNT(which_module?);
363 363
364 usb_register_notify(&mon_nb);
365 364
366 mutex_lock(&usb_bus_list_lock); 365 mutex_lock(&usb_bus_list_lock);
367 list_for_each_entry (ubus, &usb_bus_list, bus_list) { 366 list_for_each_entry (ubus, &usb_bus_list, bus_list) {
368 mon_bus_init(ubus); 367 mon_bus_init(ubus);
369 } 368 }
369 usb_register_notify(&mon_nb);
370 mutex_unlock(&usb_bus_list_lock); 370 mutex_unlock(&usb_bus_list_lock);
371 return 0; 371 return 0;
372 372