]> err.no Git - linux-2.6/blobdiff - drivers/usb/core/hcd.c
Merge commit 'origin/HEAD' into test-merge
[linux-2.6] / drivers / usb / core / hcd.c
index 7158dbb6e4b4d74863fa4d4bb78ad94d0fbcd8ec..42a436478b78bba99c05a9cf609ea89e4e11adfe 100644 (file)
@@ -924,6 +924,15 @@ static int register_root_hub(struct usb_hcd *hcd)
        return retval;
 }
 
+void usb_enable_root_hub_irq (struct usb_bus *bus)
+{
+       struct usb_hcd *hcd;
+
+       hcd = container_of (bus, struct usb_hcd, self);
+       if (hcd->driver->hub_irq_enable && hcd->state != HC_STATE_HALT)
+               hcd->driver->hub_irq_enable (hcd);
+}
+
 
 /*-------------------------------------------------------------------------*/