summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/ocelot/felix.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-04-05 10:59:17 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-05-09 18:17:19 +0100
commit0726dc3cccf8245653655ac3802e33a4af5c4d41 (patch)
treef6a77f0556dfbc952d80948bb228c3dab6e52955 /drivers/net/dsa/ocelot/felix.h
parenteb9c75203f17250451381e87a415a654de1fbbfb (diff)
net: dsa: felix: provide own phylink MAC operations
Convert felix to provide its own phylink MAC operations, thus avoiding the shim layer in DSA's port.c. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/dsa/ocelot/felix.h')
-rw-r--r--drivers/net/dsa/ocelot/felix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/ocelot/felix.h b/drivers/net/dsa/ocelot/felix.h
index dbf5872fe367..4d3489aaa659 100644
--- a/drivers/net/dsa/ocelot/felix.h
+++ b/drivers/net/dsa/ocelot/felix.h
@@ -82,6 +82,7 @@ struct felix_tag_proto_ops {
struct netlink_ext_ack *extack);
};
+extern const struct phylink_mac_ops felix_phylink_mac_ops;
extern const struct dsa_switch_ops felix_switch_ops;
/* DSA glue / front-end for struct ocelot */