Commit 39535d7f authored by Breno Leitao's avatar Breno Leitao Committed by Jakub Kicinski

net: fill in MODULE_DESCRIPTION()s for Broadcom bgmac

W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to the Broadcom iProc GBit driver.
Signed-off-by: default avatarBreno Leitao <leitao@debian.org>
Acked-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240123190332.677489-3-leitao@debian.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f5e41416
...@@ -793,5 +793,6 @@ static struct platform_driver bcm4908_enet_driver = { ...@@ -793,5 +793,6 @@ static struct platform_driver bcm4908_enet_driver = {
}; };
module_platform_driver(bcm4908_enet_driver); module_platform_driver(bcm4908_enet_driver);
MODULE_DESCRIPTION("Broadcom BCM4908 Gigabit Ethernet driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_DEVICE_TABLE(of, bcm4908_enet_of_match); MODULE_DEVICE_TABLE(of, bcm4908_enet_of_match);
...@@ -260,4 +260,5 @@ void bcma_mdio_mii_unregister(struct mii_bus *mii_bus) ...@@ -260,4 +260,5 @@ void bcma_mdio_mii_unregister(struct mii_bus *mii_bus)
EXPORT_SYMBOL_GPL(bcma_mdio_mii_unregister); EXPORT_SYMBOL_GPL(bcma_mdio_mii_unregister);
MODULE_AUTHOR("Rafał Miłecki"); MODULE_AUTHOR("Rafał Miłecki");
MODULE_DESCRIPTION("Broadcom iProc GBit BCMA MDIO helpers");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -362,4 +362,5 @@ module_init(bgmac_init) ...@@ -362,4 +362,5 @@ module_init(bgmac_init)
module_exit(bgmac_exit) module_exit(bgmac_exit)
MODULE_AUTHOR("Rafał Miłecki"); MODULE_AUTHOR("Rafał Miłecki");
MODULE_DESCRIPTION("Broadcom iProc GBit BCMA interface driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -298,4 +298,5 @@ static struct platform_driver bgmac_enet_driver = { ...@@ -298,4 +298,5 @@ static struct platform_driver bgmac_enet_driver = {
}; };
module_platform_driver(bgmac_enet_driver); module_platform_driver(bgmac_enet_driver);
MODULE_DESCRIPTION("Broadcom iProc GBit platform interface driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1626,4 +1626,5 @@ int bgmac_enet_resume(struct bgmac *bgmac) ...@@ -1626,4 +1626,5 @@ int bgmac_enet_resume(struct bgmac *bgmac)
EXPORT_SYMBOL_GPL(bgmac_enet_resume); EXPORT_SYMBOL_GPL(bgmac_enet_resume);
MODULE_AUTHOR("Rafał Miłecki"); MODULE_AUTHOR("Rafał Miłecki");
MODULE_DESCRIPTION("Broadcom iProc GBit driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
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