Skip to content

Commit f5e4141

Browse files
leitaokuba-moo
authored andcommitted
net: fill in MODULE_DESCRIPTION()s for 8390
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to all the good old 8390 modules and drivers. Signed-off-by: Breno Leitao <leitao@debian.org> CC: geert@linux-m68k.org Link: https://lore.kernel.org/r/20240123190332.677489-2-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 0879020 commit f5e4141

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/net/ethernet/8390/8390.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,5 @@ static void __exit ns8390_module_exit(void)
100100
module_init(ns8390_module_init);
101101
module_exit(ns8390_module_exit);
102102
#endif /* MODULE */
103+
MODULE_DESCRIPTION("National Semiconductor 8390 core driver");
103104
MODULE_LICENSE("GPL");

drivers/net/ethernet/8390/8390p.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,5 @@ static void __exit NS8390p_cleanup_module(void)
102102

103103
module_init(NS8390p_init_module);
104104
module_exit(NS8390p_cleanup_module);
105+
MODULE_DESCRIPTION("National Semiconductor 8390 core for ISA driver");
105106
MODULE_LICENSE("GPL");

drivers/net/ethernet/8390/apne.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,5 @@ static int init_pcmcia(void)
610610
return 1;
611611
}
612612

613+
MODULE_DESCRIPTION("National Semiconductor 8390 Amiga PCMCIA ethernet driver");
613614
MODULE_LICENSE("GPL");

drivers/net/ethernet/8390/hydra.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,4 +270,5 @@ static void __exit hydra_cleanup_module(void)
270270
module_init(hydra_init_module);
271271
module_exit(hydra_cleanup_module);
272272

273+
MODULE_DESCRIPTION("Zorro-II Hydra 8390 ethernet driver");
273274
MODULE_LICENSE("GPL");

drivers/net/ethernet/8390/stnic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,4 +296,5 @@ static void __exit stnic_cleanup(void)
296296

297297
module_init(stnic_probe);
298298
module_exit(stnic_cleanup);
299+
MODULE_DESCRIPTION("National Semiconductor DP83902AV ethernet driver");
299300
MODULE_LICENSE("GPL");

drivers/net/ethernet/8390/zorro8390.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,4 +443,5 @@ static void __exit zorro8390_cleanup_module(void)
443443
module_init(zorro8390_init_module);
444444
module_exit(zorro8390_cleanup_module);
445445

446+
MODULE_DESCRIPTION("Zorro NS8390-based ethernet driver");
446447
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)