aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-03-30 18:44:50 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-30 11:52:27 -0700
commite7765d634aaa9dd5db3cb59155269ef6c18d4592 (patch)
treea1f189af8cfeda7a88d27047534ac19ffb23cbc3 /include
parentnet: phylink: change phylink_mii_c22_pcs_set_advertisement() prototype (diff)
downloadlinux-dev-e7765d634aaa9dd5db3cb59155269ef6c18d4592.tar.xz
linux-dev-e7765d634aaa9dd5db3cb59155269ef6c18d4592.zip
net: phylink: rename 'ops' to 'mac_ops'
Rename the bland 'ops' member of struct phylink to be a more descriptive 'mac_ops' - this is necessary as we're about to introduce another set of operations. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/phylink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h
index 6f6ecf3e0be1..90c907eaae15 100644
--- a/include/linux/phylink.h
+++ b/include/linux/phylink.h
@@ -272,7 +272,7 @@ void mac_link_up(struct phylink_config *config, struct phy_device *phy,
struct phylink *phylink_create(struct phylink_config *, struct fwnode_handle *,
phy_interface_t iface,
- const struct phylink_mac_ops *ops);
+ const struct phylink_mac_ops *mac_ops);
void phylink_destroy(struct phylink *);
int phylink_connect_phy(struct phylink *, struct phy_device *);