summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2015-05-06 01:09:48 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-09 16:05:52 -0400
commitdbde9e6667166f17d6d70a08becb05c596cb8fb5 (patch)
tree9dd6035e591b5aab8f32278db6555104dd8035dc /drivers/net/dsa/mv88e6xxx.h
parent54d792f257c65aaff7ac2ab5ea5f83b14c910778 (diff)
downloadop-kernel-dev-dbde9e6667166f17d6d70a08becb05c596cb8fb5.zip
op-kernel-dev-dbde9e6667166f17d6d70a08becb05c596cb8fb5.tar.gz
net: dsa: Centralize setting up ports
Now that setting up a port is identical for all switches, centralisers the code looping over all the ports to set them up. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx.h')
-rw-r--r--drivers/net/dsa/mv88e6xxx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx.h
index 2aa1a6b..46c5ea38 100644
--- a/drivers/net/dsa/mv88e6xxx.h
+++ b/drivers/net/dsa/mv88e6xxx.h
@@ -336,7 +336,7 @@ struct mv88e6xxx_hw_stat {
};
int mv88e6xxx_switch_reset(struct dsa_switch *ds, bool ppu_active);
-int mv88e6xxx_setup_port(struct dsa_switch *ds, int port);
+int mv88e6xxx_setup_ports(struct dsa_switch *ds);
int mv88e6xxx_setup_common(struct dsa_switch *ds);
int mv88e6xxx_setup_global(struct dsa_switch *ds);
int __mv88e6xxx_reg_read(struct mii_bus *bus, int sw_addr, int addr, int reg);
OpenPOWER on IntegriCloud