commit | 370b4ffbd8dda2b1a61dc63a5ac3088d8e715d53 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Thu Sep 29 12:21:57 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 30 01:25:59 2016 -0400 |
tree | 94e29e0aa13072f2d581f6423c90054300a50714 | |
parent | de33376b39b6ea939d53ea44c8c6595b80826501 [diff] |
net: dsa: mv88e6xxx: add mv88e6xxx_num_ports helper Add an mv88e6xxx_num_ports helper instead of digging in the chip info structure. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>