diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2019-10-08 11:39:04 -0400 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-09 20:44:41 -0400 |
commit | 9db74e51ec08d75c3e97f851299bc25e645cc5ad (patch) | |
tree | 7058ce6ccb2cf1e08c88394997891121d0262009 | |
parent | 819be8108fded0b9e710bbbf81193e52f7bab2f7 (diff) |
phylink: fix kernel-doc warnings
Fix kernel-doc warnings in phylink.c:
../drivers/net/phy/phylink.c:595: warning: Function parameter or member 'config' not described in 'phylink_create'
../drivers/net/phy/phylink.c:595: warning: Excess function parameter 'ndev' description in 'phylink_create'
Fixes: 8796c8923d9c ("phylink: add documentation for kernel APIs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
-rw-r--r-- | drivers/net/phy/phylink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index a5a57ca94c1a..20e2ebe458f2 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c | |||
@@ -576,7 +576,7 @@ static int phylink_register_sfp(struct phylink *pl, | |||
576 | 576 | ||
577 | /** | 577 | /** |
578 | * phylink_create() - create a phylink instance | 578 | * phylink_create() - create a phylink instance |
579 | * @ndev: a pointer to the &struct net_device | 579 | * @config: a pointer to the target &struct phylink_config |
580 | * @fwnode: a pointer to a &struct fwnode_handle describing the network | 580 | * @fwnode: a pointer to a &struct fwnode_handle describing the network |
581 | * interface | 581 | * interface |
582 | * @iface: the desired link mode defined by &typedef phy_interface_t | 582 | * @iface: the desired link mode defined by &typedef phy_interface_t |