aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2017-03-30 21:37:10 +0000
committerDavid S. Miller <[email protected]>2017-04-01 19:22:57 +0000
commit73b1204d070d2970749beb3fa3ca6e639dc7a3b6 (patch)
tree94fb308feaf6fb4fc3533b8d04cb71a0753e2cf2 /drivers/net/dsa/dsa_loop.c
parentnet: dsa: mv88e6xxx: program the PVT with all ones (diff)
downloadkernel-73b1204d070d2970749beb3fa3ca6e639dc7a3b6.tar.gz
kernel-73b1204d070d2970749beb3fa3ca6e639dc7a3b6.zip
net: dsa: mv88e6xxx: allocate the number of ports
The current code allocates DSA_MAX_PORTS ports for a Marvell dsa_switch structure. Provide the exact number of ports so the corresponding ds->num_ports is accurate. Signed-off-by: Vivien Didelot <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions