commit | 3a77b5933fdb2ea4a9c7cdd9bd9b65b6fd23626e | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Thu Nov 14 17:03:26 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 15 12:32:16 2019 -0800 |
tree | bbec6b11112a20223f5746b43299d40eb5e523fa | |
parent | ba551bc3bc22f3a9f16a31cd856b823e76489009 [diff] |
net: mscc: ocelot: separate the implementation of switch reset The Felix switch has a different reset procedure, so a function pointer needs to be created and added to the ocelot_ops structure. The reset procedure has been moved into ocelot_init. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>