]> Git Repo - linux.git/commitdiff
pcmcia: add missing MODULE_DESCRIPTION() macros
authorJeff Johnson <[email protected]>
Fri, 7 Jun 2024 22:02:58 +0000 (15:02 -0700)
committerDominik Brodowski <[email protected]>
Sun, 30 Jun 2024 13:51:34 +0000 (15:51 +0200)
On x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/pcmcia_rsrc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/yenta_socket.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/i82092.o

Add the missing invocation of the MODULE_DESCRIPTION() macro to all
files which have a MODULE_LICENSE(). This includes files which did not
produce a warning with the x86 allmodconfig since they may cause this
warning with other configurations.

Signed-off-by: Jeff Johnson <[email protected]>
[[email protected]: modify some descriptions]
Signed-off-by: Dominik Brodowski <[email protected]>
drivers/pcmcia/i82092.c
drivers/pcmcia/i82365.c
drivers/pcmcia/max1600.c
drivers/pcmcia/rsrc_mgr.c
drivers/pcmcia/yenta_socket.c

index a335748bdef5a3e3a0d8df6809ff30535de7dbae..a947ffb2df5526a770d4de5b1330fe7de6d6e2be 100644 (file)
@@ -23,6 +23,7 @@
 #include "i82092aa.h"
 #include "i82365.h"
 
+MODULE_DESCRIPTION("Driver for Intel I82092AA PCI-PCMCIA bridge");
 MODULE_LICENSE("GPL");
 
 /* PCI core routines */
index 891ccea2cccb0a7b455a9ab963df2b43c38ed93e..86a357837a7b8bb0c29e6f5c4c4870932122edb9 100644 (file)
@@ -1342,5 +1342,6 @@ static void __exit exit_i82365(void)
 
 module_init(init_i82365);
 module_exit(exit_i82365);
+MODULE_DESCRIPTION("Driver for Intel 82365 and compatible PC Card controllers");
 MODULE_LICENSE("Dual MPL/GPL");
 /*====================================================================*/
index 379875a5e7cd4368585d854c947afdf664bdf10f..7be9068f6191f557e0b19b11c75b6d24a8262d41 100644 (file)
@@ -119,4 +119,5 @@ int max1600_configure(struct max1600 *m, unsigned int vcc, unsigned int vpp)
 }
 EXPORT_SYMBOL_GPL(max1600_configure);
 
+MODULE_DESCRIPTION("MAX1600 PCMCIA power switch library");
 MODULE_LICENSE("GPL v2");
index 252893216e508e54deb26fae97feb20cb22f49b1..3a1d2baa466f71168f80af29d90cf7c7ea9511a3 100644 (file)
@@ -66,5 +66,6 @@ EXPORT_SYMBOL(pccard_static_ops);
 
 
 MODULE_AUTHOR("David A. Hinds, Dominik Brodowski");
+MODULE_DESCRIPTION("PCMCIA resource management routines");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("rsrc_nonstatic");
index ff169124929cc26cbffdc7cd2ef7279d482f72ba..020ea86c24ec9b86186e07f10c3364fb559b1490 100644 (file)
@@ -1452,4 +1452,5 @@ static struct pci_driver yenta_cardbus_driver = {
 
 module_pci_driver(yenta_cardbus_driver);
 
+MODULE_DESCRIPTION("Driver for CardBus yenta-compatible bridges");
 MODULE_LICENSE("GPL");
This page took 0.096221 seconds and 4 git commands to generate.