aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-04-19 00:57:37 -0400
committerGreg KH <greg@press.kroah.org>2005-04-19 00:57:37 -0400
commit089d42b013675b028a499c61bac59954067dc668 (patch)
treee352a8dc7b2324ff58a0b3365cd27dcfba0fb735 /drivers/usb
parente57cd73e2e844a3da25cc6b420674c81bbe1b387 (diff)
[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 <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/hc_crisv10.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/hc_crisv10.c b/drivers/usb/host/hc_crisv10.c
index 4b12be822bd4..376f8a034f65 100644
--- 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)
4396 device_initialize(&fake_device); 4396 device_initialize(&fake_device);
4397 kobject_set_name(&fake_device.kobj, "etrax_usb"); 4397 kobject_set_name(&fake_device.kobj, "etrax_usb");
4398 kobject_add(&fake_device.kobj); 4398 kobject_add(&fake_device.kobj);
4399 kobject_hotplug(&fake_device.kobj, KOBJ_ADD);
4399 hc->bus->controller = &fake_device; 4400 hc->bus->controller = &fake_device;
4400 usb_register_bus(hc->bus); 4401 usb_register_bus(hc->bus);
4401 4402