Merge tag 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux...
[deliverable/linux.git] / drivers / usb / host / sl811-hcd.c
index 944a4173dd9452e6000ab85470fd4ae6e1f7cff4..fd2a11473be79921416597ae87489d4606d26f55 100644 (file)
@@ -1091,7 +1091,7 @@ sl811h_hub_descriptor (
 ) {
        u16             temp = 0;
 
-       desc->bDescriptorType = 0x29;
+       desc->bDescriptorType = USB_DT_HUB;
        desc->bHubContrCurrent = 0;
 
        desc->bNbrPorts = 1;
@@ -1259,7 +1259,7 @@ sl811h_hub_control(
                        sl811_write(sl811, SL11H_CTLREG1, sl811->ctrl1);
 
                        mod_timer(&sl811->timer, jiffies
-                                       + msecs_to_jiffies(20));
+                                       + msecs_to_jiffies(USB_RESUME_TIMEOUT));
                        break;
                case USB_PORT_FEAT_POWER:
                        port_power(sl811, 0);
@@ -1801,7 +1801,7 @@ sl811h_resume(struct platform_device *dev)
 
 
 /* this driver is exported so sl811_cs can depend on it */
-static struct platform_driver sl811h_driver = {
+struct platform_driver sl811h_driver = {
        .probe =        sl811h_probe,
        .remove =       sl811h_remove,
 
This page took 0.025987 seconds and 5 git commands to generate.