mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
net: mdio: fill in missing MODULE_DESCRIPTION()s
W=1 builds now warn if a module is built without a MODULE_DESCRIPTION(). Fill them in based on the Kconfig text, or similar. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au> Link: https://lore.kernel.org/r/20231028184458.99448-3-andrew@lunn.ch Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
dd9d75fcf0
commit
031fba65fc
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
MODULE_AUTHOR("Calvin Johnson <calvin.johnson@oss.nxp.com>");
|
MODULE_AUTHOR("Calvin Johnson <calvin.johnson@oss.nxp.com>");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_DESCRIPTION("ACPI MDIO bus (Ethernet PHY) accessors");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* __acpi_mdiobus_register - Register mii_bus and create PHYs from the ACPI ASL.
|
* __acpi_mdiobus_register - Register mii_bus and create PHYs from the ACPI ASL.
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
MODULE_AUTHOR("Calvin Johnson <calvin.johnson@oss.nxp.com>");
|
MODULE_AUTHOR("Calvin Johnson <calvin.johnson@oss.nxp.com>");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_DESCRIPTION("FWNODE MDIO bus (Ethernet PHY) accessors");
|
||||||
|
|
||||||
static struct pse_control *
|
static struct pse_control *
|
||||||
fwnode_find_pse_control(struct fwnode_handle *fwnode)
|
fwnode_find_pse_control(struct fwnode_handle *fwnode)
|
||||||
|
@ -205,3 +205,4 @@ module_platform_driver(aspeed_mdio_driver);
|
|||||||
|
|
||||||
MODULE_AUTHOR("Andrew Jeffery <andrew@aj.id.au>");
|
MODULE_AUTHOR("Andrew Jeffery <andrew@aj.id.au>");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_DESCRIPTION("ASPEED MDIO bus controller");
|
||||||
|
@ -263,3 +263,4 @@ void free_mdio_bitbang(struct mii_bus *bus)
|
|||||||
EXPORT_SYMBOL(free_mdio_bitbang);
|
EXPORT_SYMBOL(free_mdio_bitbang);
|
||||||
|
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
MODULE_DESCRIPTION("Bitbanged MDIO buses");
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
MODULE_AUTHOR("Grant Likely <grant.likely@secretlab.ca>");
|
MODULE_AUTHOR("Grant Likely <grant.likely@secretlab.ca>");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_DESCRIPTION("OpenFirmware MDIO bus (Ethernet PHY) accessors");
|
||||||
|
|
||||||
/* Extract the clause 22 phy ID from the compatible string of the form
|
/* Extract the clause 22 phy ID from the compatible string of the form
|
||||||
* ethernet-phy-idAAAA.BBBB */
|
* ethernet-phy-idAAAA.BBBB */
|
||||||
|
Loading…
Reference in New Issue
Block a user