mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] kobject/hotplug split - usb cris
kobject_add() and kobject_del() don't emit hotplug events anymore. We need to do it ourselves now. Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
e57cd73e2e
commit
089d42b013
1 changed files with 1 additions and 0 deletions
|
|
@ -4396,6 +4396,7 @@ static int __init etrax_usb_hc_init(void)
|
|||
device_initialize(&fake_device);
|
||||
kobject_set_name(&fake_device.kobj, "etrax_usb");
|
||||
kobject_add(&fake_device.kobj);
|
||||
kobject_hotplug(&fake_device.kobj, KOBJ_ADD);
|
||||
hc->bus->controller = &fake_device;
|
||||
usb_register_bus(hc->bus);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue