aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-01-08 16:01:52 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-09 09:42:23 +0200
commit662e469e91d85438444703aa60dc35ac27b06773 (patch)
tree8ecf007fd31887d845414c414bf1efe5bbaf4b75 /drivers/mfd
parentmfd: da9055: Drop "select PMIC_DA9055" (diff)
downloadlinux-dev-662e469e91d85438444703aa60dc35ac27b06773.tar.xz
linux-dev-662e469e91d85438444703aa60dc35ac27b06773.zip
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')
-rw-r--r--drivers/mfd/omap-usb-host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 35a96e768db0..2520facd4ccc 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;