net: phy: fixed warning: Function parameter not described
authorLuo Jie <luoj@codeaurora.org>
Tue, 26 Oct 2021 10:29:57 +0000 (18:29 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Oct 2021 21:09:50 +0000 (14:09 -0700)
Fixed warning: Function parameter or member 'enable' not
described in 'genphy_c45_fast_retrain'

Signed-off-by: Luo Jie <luoj@codeaurora.org>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20211026102957.17100-1-luoj@codeaurora.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy-c45.c

index b01180e1f5783ec680b729d86a6243c0ff81bbb8..db709d30bf8403821996d74578d3fbd2ca97cd26 100644 (file)
@@ -614,6 +614,7 @@ EXPORT_SYMBOL_GPL(genphy_c45_loopback);
 /**
  * genphy_c45_fast_retrain - configure fast retrain registers
  * @phydev: target phy_device struct
+ * @enable: enable fast retrain or not
  *
  * Description: If fast-retrain is enabled, we configure PHY as
  *   advertising fast retrain capable and THP Bypass Request, then