summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6060.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2019-04-27 19:32:57 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-27 20:23:04 -0400
commit3e8bc1b886411459f94d57557409bb9bfdf89f85 (patch)
tree4fd29ec011266712acc204709f7e1210d0fcef37 /drivers/net/dsa/mv88e6060.h
parent406a4362c252a1ba62509728b2ea638c5059f463 (diff)
downloadtalos-op-linux-3e8bc1b886411459f94d57557409bb9bfdf89f85.tar.gz
talos-op-linux-3e8bc1b886411459f94d57557409bb9bfdf89f85.zip
net: dsa: mv88e6060: Replace ds with priv
Pass around priv, not ds. This will help with changing to an mdio driver, and makes this driver more like mv88e6xxx. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6060.h')
-rw-r--r--drivers/net/dsa/mv88e6060.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6060.h b/drivers/net/dsa/mv88e6060.h
index 10249bd16292..c0e7a0f2fb6a 100644
--- a/drivers/net/dsa/mv88e6060.h
+++ b/drivers/net/dsa/mv88e6060.h
@@ -117,6 +117,7 @@ struct mv88e6060_priv {
*/
struct mii_bus *bus;
int sw_addr;
+ struct dsa_switch *ds;
};
#endif
OpenPOWER on IntegriCloud