diff options
author | Breno Leitao <leitao@debian.org> | 2024-02-08 08:42:44 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-09 14:12:02 -0800 |
commit | 6034e059f5d34bceb4adefc3409043bf65c896ea (patch) | |
tree | e6f7b73b9feac8b8b3ac517905025c553cd78a98 /drivers/net/dsa | |
parent | 830bd88cc151412f467423c3db0b29fe623c6487 (diff) | |
download | linux-stable-6034e059f5d34bceb4adefc3409043bf65c896ea.tar.gz linux-stable-6034e059f5d34bceb4adefc3409043bf65c896ea.tar.bz2 linux-stable-6034e059f5d34bceb4adefc3409043bf65c896ea.zip |
net: fill in MODULE_DESCRIPTION()s for dsa_loop_bdinfo
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to the DSA loopback fixed PHY module.
Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20240208164244.3818498-10-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r-- | drivers/net/dsa/dsa_loop_bdinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/dsa_loop_bdinfo.c b/drivers/net/dsa/dsa_loop_bdinfo.c index 237066d30704..14ca42491512 100644 --- a/drivers/net/dsa/dsa_loop_bdinfo.c +++ b/drivers/net/dsa/dsa_loop_bdinfo.c @@ -32,4 +32,5 @@ static int __init dsa_loop_bdinfo_init(void) } arch_initcall(dsa_loop_bdinfo_init) +MODULE_DESCRIPTION("DSA mock-up switch driver"); MODULE_LICENSE("GPL"); |