diff options
| author | Vivien Didelot <[email protected]> | 2017-03-30 21:37:10 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-01 19:22:57 +0000 |
| commit | 73b1204d070d2970749beb3fa3ca6e639dc7a3b6 (patch) | |
| tree | 94fb308feaf6fb4fc3533b8d04cb71a0753e2cf2 /drivers/net/dsa/dsa_loop.c | |
| parent | net: dsa: mv88e6xxx: program the PVT with all ones (diff) | |
| download | kernel-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
