Skip to content

Commit 39097ab

Browse files
lunndavem330
authored andcommitted
net: phy: Fixup kernel doc
Add missing parameter documentation, or fixup wrong parameter names. Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3fc826f commit 39097ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/linux/mdio.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static inline u32 linkmode_adv_to_mii_10gbt_adv_t(unsigned long *advertising)
306306
/**
307307
* mii_10gbt_stat_mod_linkmode_lpa_t
308308
* @advertising: target the linkmode advertisement settings
309-
* @adv: value of the C45 10GBASE-T AN STATUS register
309+
* @lpa: value of the C45 10GBASE-T AN STATUS register
310310
*
311311
* A small helper function that translates C45 10GBASE-T AN STATUS register bits
312312
* to linkmode advertisement settings. Other bits in advertising aren't changed.
@@ -371,6 +371,7 @@ struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr);
371371

372372
/**
373373
* mdio_module_driver() - Helper macro for registering mdio drivers
374+
* @_mdio_driver: driver to register
374375
*
375376
* Helper macro for MDIO drivers which do not do anything special in module
376377
* init/exit. Each module may only use this macro once, and calling it

include/linux/phy.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,8 +1566,9 @@ static inline int mdiobus_register_board_info(const struct mdio_board_info *i,
15661566

15671567

15681568
/**
1569-
* module_phy_driver() - Helper macro for registering PHY drivers
1569+
* phy_module_driver() - Helper macro for registering PHY drivers
15701570
* @__phy_drivers: array of PHY drivers to register
1571+
* @__count: Numbers of members in array
15711572
*
15721573
* Helper macro for PHY drivers which do not do anything special in module
15731574
* init/exit. Each module may only use this macro once, and calling it

0 commit comments

Comments
 (0)