[PATCH 5/6] 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]> = 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.c2005-03-18 02:17:17 +01:00 @@ -4396,6 +4396,7 @@ static int __init etrax_usb_hc_init(void device_initialize(_device); kobject_set_name(_device.kobj, "etrax_usb"); kobject_add(_device.kobj); +kobject_hotplug(_device.kobj, KOBJ_ADD); hc->bus->controller = _device; usb_register_bus(hc->bus); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 5/6] 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] = 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.c2005-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); - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/