projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e57cd73
)
[PATCH] kobject/hotplug split - usb cris
author
kay.sievers@vrfy.org
<kay.sievers@vrfy.org>
Tue, 19 Apr 2005 04:57:37 +0000
(21:57 -0700)
committer
Greg KH
<greg@press.kroah.org>
Tue, 19 Apr 2005 04:57:37 +0000
(21:57 -0700)
kobject_add() and kobject_del() don't emit hotplug events anymore.
We need to do it ourselves now.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/hc_crisv10.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/hc_crisv10.c
b/drivers/usb/host/hc_crisv10.c
index 4b12be822bd4e4ba16ca32c8a33779c705a1a13b..376f8a034f658856b91be40d79ed6f8a7ad108da 100644
(file)
--- a/
drivers/usb/host/hc_crisv10.c
+++ b/
drivers/usb/host/hc_crisv10.c
@@
-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);