diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-03-30 20:44:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-30 21:52:27 +0300 |
commit | e7765d634aaa9dd5db3cb59155269ef6c18d4592 (patch) | |
tree | a1f189af8cfeda7a88d27047534ac19ffb23cbc3 /include/linux/phylink.h | |
parent | 0bd274060a0f49d974b7e88fa87b6e1c1f496a48 (diff) | |
download | linux-e7765d634aaa9dd5db3cb59155269ef6c18d4592.tar.xz |
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/linux/phylink.h')
-rw-r--r-- | include/linux/phylink.h | 2 |
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 *); |