mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
net: phylink: change phylink_mii_c22_pcs_set_advertisement() prototype
Change phylink_mii_c22_pcs_set_advertisement() to take only the PHY interface and advertisement mask, rather than the full phylink state. 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>
This commit is contained in:
committed by
David S. Miller
parent
b8447abc4c
commit
0bd274060a
@@ -320,7 +320,8 @@ void phylink_helper_basex_speed(struct phylink_link_state *state);
|
||||
void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
|
||||
struct phylink_link_state *state);
|
||||
int phylink_mii_c22_pcs_set_advertisement(struct mdio_device *pcs,
|
||||
const struct phylink_link_state *state);
|
||||
phy_interface_t interface,
|
||||
const unsigned long *advertising);
|
||||
void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
|
||||
|
||||
void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,
|
||||
|
Reference in New Issue
Block a user