]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/usb/host/isp1760-hcd.c
usb: isp1760: Manage device driver data in common code
[mirror_ubuntu-bionic-kernel.git] / drivers / usb / host / isp1760-hcd.c
index 74987276ac7368a8cbee0e1fda556a09db9f715e..19fbd6965630cac621657dda52c693b6e8725be2 100644 (file)
@@ -2252,6 +2252,8 @@ struct usb_hcd *isp1760_register(phys_addr_t res_start, resource_size_t res_len,
                goto err_unmap;
        device_wakeup_enable(hcd->self.controller);
 
+       dev_set_drvdata(dev, hcd);
+
        return hcd;
 
 err_unmap: