aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea/host.c
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2012-06-29 17:48:53 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-06 11:03:32 -0700
commit77c4400f2f0fd8384ab5cbe41d81ccc664896b2d (patch)
treec9c7b4016a4857ea819aab764de3d1d3778b473d /drivers/usb/chipidea/host.c
parent6bf83594e3fa1b1147ed1baff356d4fd30846b84 (diff)
downloadlinux-stericsson-77c4400f2f0fd8384ab5cbe41d81ccc664896b2d.tar.gz
USB: Chipidea: rename struct ci13xxx_udc_driver to struct ci13xxx_platform_data
This patch rename struct ci13xxx_udc_driver and var with the type. ci13xxx_platform_data reflect it's passed from platfrom driver. Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/host.c')
-rw-r--r--drivers/usb/chipidea/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index 9eacd21c0cd9..4a4fdb8c65f8 100644
--- a/drivers/usb/chipidea/host.c
+++ b/drivers/usb/chipidea/host.c
@@ -116,7 +116,7 @@ static int host_start(struct ci13xxx *ci)
hcd->regs = ci->hw_bank.abs;
hcd->has_tt = 1;
- hcd->power_budget = ci->udc_driver->power_budget;
+ hcd->power_budget = ci->platdata->power_budget;
ehci = hcd_to_ehci(hcd);
ehci->caps = ci->hw_bank.cap;