mfd: omap-usb-host: Update nports in platform_data
authorRoger Quadros <rogerq@ti.com>
Tue, 8 Jan 2013 14:01:52 +0000 (16:01 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 07:42:23 +0000 (09:42 +0200)
commit662e469e91d85438444703aa60dc35ac27b06773
tree8ecf007fd31887d845414c414bf1efe5bbaf4b75
parentf2d614c4beb6d1588e515dd64e7e44ba5510404e
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>
drivers/mfd/omap-usb-host.c