* [PATCH 5/6] kobject/hotplug split - usb cris
@ 2005-03-18 4:00 Kay Sievers
0 siblings, 0 replies; only message in thread
From: Kay Sievers @ 2005-03-18 4:00 UTC (permalink / raw)
To: linux-kernel; +Cc: Greg KH
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>
===== drivers/usb/host/hc_crisv10.c 1.7 vs edited =====
--- 1.7/drivers/usb/host/hc_crisv10.c 2004-12-21 02:15:10 +01:00
+++ edited/drivers/usb/host/hc_crisv10.c 2005-03-18 02:17:17 +01:00
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-18 4:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18 4:00 [PATCH 5/6] kobject/hotplug split - usb cris Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox