Sebastian Hesselbarth bf09b6ae58 PCI: mvebu: increment nports only for registered ports
The number of ports is probed by counting the number of available child nodes.
Later on, the registration of a port can fail and cause a mismatch between
the ->nports counter and registered ports. This patch modifies the counting
strategy, to make ->nports represent the number of registered ports instead
of the number of available childs.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-09-30 14:58:35 +00:00
..
2013-09-10 23:15:02 +02:00
2013-08-28 20:51:39 -06:00
2013-09-13 15:09:52 +02:00
2013-08-27 01:26:37 +02:00
2013-09-06 13:30:06 -07:00
2013-06-29 12:57:48 +04:00
2013-04-15 10:56:27 -06:00