tree e352a8dc7b2324ff58a0b3365cd27dcfba0fb735
parent e57cd73e2e844a3da25cc6b420674c81bbe1b387
author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Tue, 19 Apr 2005 11:57:37 -0700
committer Greg KH <[EMAIL PROTECTED]> Tue, 19 Apr 2005 11:57:37 -0700
[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]>
usb/host/hc_crisv10.c | 1 +
1 files changed, 1 insertion(+)
Index: drivers/usb/host/hc_crisv10.c
===================================================================
--- e173c8c8cac2e0b01457a6e796887db1c141340b/drivers/usb/host/hc_crisv10.c
(mode:100644 sha1:4b12be822bd4e4ba16ca32c8a33779c705a1a13b)
+++ e352a8dc7b2324ff58a0b3365cd27dcfba0fb735/drivers/usb/host/hc_crisv10.c
(mode:100644 sha1:376f8a034f658856b91be40d79ed6f8a7ad108da)
@@ -4396,6 +4396,7 @@
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);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html