aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2015-04-02 04:06:33 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-01 22:55:40 -0400
commit44e50ddbc74a4bd6a862be9e6de22bce8c0b4150 (patch)
tree924eef387293c87024a27716e711c5649c211ed9 /drivers/net/dsa/mv88e6xxx.h
parentnet: dsa: mv88e6123_61_65: Determine and use number of switch ports (diff)
downloadlinux-dev-44e50ddbc74a4bd6a862be9e6de22bce8c0b4150.tar.xz
linux-dev-44e50ddbc74a4bd6a862be9e6de22bce8c0b4150.zip
net: dsa: Consistently set and use ps->num_ports
As a step towards consolidating code, consistently set the number of ports in the private state structure, and make use of it in loops. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions