net: phylink: change phylink_mii_c22_pcs_set_advertisement() prototype
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 30 Mar 2020 17:44:44 +0000 (18:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:52:27 +0000 (11:52 -0700)
commit0bd274060a0f49d974b7e88fa87b6e1c1f496a48
treea18917a5f95b029c380e0e6e709476f76894a53b
parentb8447abc4c8fb2abaa268f8e193c43e0bec2ef11
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>
drivers/net/phy/phylink.c
include/linux/phylink.h