aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/chipidea/host.c')
-rw-r--r--drivers/usb/chipidea/host.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index 8e9d31277c43..40d0fda4f66c 100644
--- a/drivers/usb/chipidea/host.c
+++ b/drivers/usb/chipidea/host.c
@@ -33,12 +33,12 @@
33 33
34static struct hc_driver __read_mostly ci_ehci_hc_driver; 34static struct hc_driver __read_mostly ci_ehci_hc_driver;
35 35
36static irqreturn_t host_irq(struct ci13xxx *ci) 36static irqreturn_t host_irq(struct ci_hdrc *ci)
37{ 37{
38 return usb_hcd_irq(ci->irq, ci->hcd); 38 return usb_hcd_irq(ci->irq, ci->hcd);
39} 39}
40 40
41static int host_start(struct ci13xxx *ci) 41static int host_start(struct ci_hdrc *ci)
42{ 42{
43 struct usb_hcd *hcd; 43 struct usb_hcd *hcd;
44 struct ehci_hcd *ehci; 44 struct ehci_hcd *ehci;
@@ -70,13 +70,13 @@ static int host_start(struct ci13xxx *ci)
70 else 70 else
71 ci->hcd = hcd; 71 ci->hcd = hcd;
72 72
73 if (ci->platdata->flags & CI13XXX_DISABLE_STREAMING) 73 if (ci->platdata->flags & CI_HDRC_DISABLE_STREAMING)
74 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, USBMODE_CI_SDIS); 74 hw_write(ci, OP_USBMODE, USBMODE_CI_SDIS, USBMODE_CI_SDIS);
75 75
76 return ret; 76 return ret;
77} 77}
78 78
79static void host_stop(struct ci13xxx *ci) 79static void host_stop(struct ci_hdrc *ci)
80{ 80{
81 struct usb_hcd *hcd = ci->hcd; 81 struct usb_hcd *hcd = ci->hcd;
82 82
@@ -84,7 +84,7 @@ static void host_stop(struct ci13xxx *ci)
84 usb_put_hcd(hcd); 84 usb_put_hcd(hcd);
85} 85}
86 86
87int ci_hdrc_host_init(struct ci13xxx *ci) 87int ci_hdrc_host_init(struct ci_hdrc *ci)
88{ 88{
89 struct ci_role_driver *rdrv; 89 struct ci_role_driver *rdrv;
90 90