summaryrefslogtreecommitdiff
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-05-02 05:06:34 +0300
committerJakub Kicinski <kuba@kernel.org>2024-05-02 05:06:34 +0300
commit2506f6229bd0d067add26eea9e396929c903e226 (patch)
treefc62a7d2446129388bcbe30ce400b809d20095ed /include/net/dsa.h
parentdcb3fba6fa34dd2f98bfcd1d20b26fab3842d1ee (diff)
parent8a021a863a7dc9f4d3d00c5571b79e0961eeabc8 (diff)
downloadlinux-2506f6229bd0d067add26eea9e396929c903e226.tar.xz
Merge branch 'net-dsa-adjust_link-removal'
Florian Fainelli says: ==================== net: dsa: adjust_link removal Now that the last in-tree driver (b53) has been converted to PHYLINK, we can get rid of all of code that catered to working with drivers implementing only PHYLIB's adjust_link callback. ==================== Link: https://lore.kernel.org/r/20240430164816.2400606-1-florian.fainelli@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index a6ef7e4c503f..eef702dbea78 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -24,9 +24,6 @@
struct dsa_8021q_context;
struct tc_action;
-struct phy_device;
-struct fixed_phy_status;
-struct phylink_link_state;
#define DSA_TAG_PROTO_NONE_VALUE 0
#define DSA_TAG_PROTO_BRCM_VALUE 1
@@ -869,14 +866,6 @@ struct dsa_switch_ops {
int regnum, u16 val);
/*
- * Link state adjustment (called from libphy)
- */
- void (*adjust_link)(struct dsa_switch *ds, int port,
- struct phy_device *phydev);
- void (*fixed_link_update)(struct dsa_switch *ds, int port,
- struct fixed_phy_status *st);
-
- /*
* PHYLINK integration
*/
void (*phylink_get_caps)(struct dsa_switch *ds, int port,