Commit 0b76e642 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

phylink: <linux/phylink.h>: fix function prototype kernel-doc warning

Fix a kernel-doc warning for the pcs_config() function prototype:

../include/linux/phylink.h:406: warning: Excess function parameter 'permit_pause_to_mac' description in 'pcs_config'

Fixes: 7137e18f ("net: phylink: add struct phylink_pcs")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3b2854d
...@@ -402,7 +402,8 @@ void pcs_get_state(struct phylink_pcs *pcs, ...@@ -402,7 +402,8 @@ void pcs_get_state(struct phylink_pcs *pcs,
* For most 10GBASE-R, there is no advertisement. * For most 10GBASE-R, there is no advertisement.
*/ */
int pcs_config(struct phylink_pcs *pcs, unsigned int mode, int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
phy_interface_t interface, const unsigned long *advertising); phy_interface_t interface, const unsigned long *advertising,
bool permit_pause_to_mac);
/** /**
* pcs_an_restart() - restart 802.3z BaseX autonegotiation * pcs_an_restart() - restart 802.3z BaseX autonegotiation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment