commit | 2b16e39ee0a431d6cf6e6ca33bb08ec7dc82073f | [log] [tgz] |
---|---|---|
author | Florian Fainelli <florian@openwrt.org> | Mon Oct 08 15:11:26 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 22 11:23:59 2012 -0700 |
tree | 72ed5f93dbf1eba3a07f62c0d08fb30d3094b497 | |
parent | f3a958d30dd1ceac83a3b82b5260475c7697d53a [diff] |
USB: ohci: allow platform driver to specify the number of ports This patch modifies the ohci platform driver to accept the num_ports parameter to be set via platform_data. Setting the number of ports must be done after the call to ohci_hcd_init(). Signed-off-by: Florian Fainelli <florian@openwrt.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>