|
@@ -361,12 +361,12 @@ static int __init mon_init(void)
|
|
}
|
|
}
|
|
// MOD_INC_USE_COUNT(which_module?);
|
|
// MOD_INC_USE_COUNT(which_module?);
|
|
|
|
|
|
- usb_register_notify(&mon_nb);
|
|
|
|
|
|
|
|
mutex_lock(&usb_bus_list_lock);
|
|
mutex_lock(&usb_bus_list_lock);
|
|
list_for_each_entry (ubus, &usb_bus_list, bus_list) {
|
|
list_for_each_entry (ubus, &usb_bus_list, bus_list) {
|
|
mon_bus_init(ubus);
|
|
mon_bus_init(ubus);
|
|
}
|
|
}
|
|
|
|
+ usb_register_notify(&mon_nb);
|
|
mutex_unlock(&usb_bus_list_lock);
|
|
mutex_unlock(&usb_bus_list_lock);
|
|
return 0;
|
|
return 0;
|
|
|
|
|