diff options
author | Roger Quadros <rogerq@ti.com> | 2013-01-08 16:01:52 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-09 09:42:23 +0200 |
commit | 662e469e91d85438444703aa60dc35ac27b06773 (patch) | |
tree | 8ecf007fd31887d845414c414bf1efe5bbaf4b75 /drivers/mfd/omap-usb-host.c | |
parent | f2d614c4beb6d1588e515dd64e7e44ba5510404e (diff) |
mfd: omap-usb-host: Update nports in platform_data
EHCI driver would need to know the number of ports available
on the platform. We set the nports parameter of platform_data
based on IP version if it was not already provided.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r-- | drivers/mfd/omap-usb-host.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 35a96e768db..2520facd4cc 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -560,6 +560,7 @@ static int usbhs_omap_probe(struct platform_device *pdev) omap->usbhs_rev, omap->nports); break; } + pdata->nports = omap->nports; } i = sizeof(struct clk *) * omap->nports; |