]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/hc_crisv10.c
[PATCH] USB: move the usb hcd code to use the new class code.
[linux-2.6] / drivers / usb / host / hc_crisv10.c
index 4b12be822bd4e4ba16ca32c8a33779c705a1a13b..d9883d774d3a4a8ab02807a628df41ac2767fcff 100644 (file)
@@ -4329,7 +4329,7 @@ static int __init etrax_usb_hc_init(void)
        bus->bus_name="ETRAX 100LX";
        bus->hcpriv = hc;
 
-       /* Initalize RH to the default address.
+       /* Initialize RH to the default address.
           And make sure that we have no status change indication */
        hc->rh.numports = 2;  /* The RH has two ports */
        hc->rh.devnum = 1;
@@ -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);