commit | 009a2b9843bf0b1a85fbf79f76e1de4995de527c | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Sun Apr 17 13:24:01 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 17 18:54:15 2016 -0400 |
tree | 3f4115c51b462c8af9380f535df32a5e91814190 | |
parent | 22356476a86fc569c34cbf209d3a247c01e0ef6d [diff] |
net: dsa: mv88e6xxx: add number of ports to info Drop the ps->num_ports variable in favor of a new member of the info structure. This removes the need to assign it at setup time. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>