Skip to content

Commit 0630e3b

Browse files
Jeff JohnsonDominik Brodowski
authored andcommitted
pcmcia: add missing MODULE_DESCRIPTION() macros
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]>
1 parent 24a0254 commit 0630e3b

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

drivers/pcmcia/i82092.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "i82092aa.h"
2424
#include "i82365.h"
2525

26+
MODULE_DESCRIPTION("Driver for Intel I82092AA PCI-PCMCIA bridge");
2627
MODULE_LICENSE("GPL");
2728

2829
/* PCI core routines */

drivers/pcmcia/i82365.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,5 +1342,6 @@ static void __exit exit_i82365(void)
13421342

13431343
module_init(init_i82365);
13441344
module_exit(exit_i82365);
1345+
MODULE_DESCRIPTION("Driver for Intel 82365 and compatible PC Card controllers");
13451346
MODULE_LICENSE("Dual MPL/GPL");
13461347
/*====================================================================*/

drivers/pcmcia/max1600.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,5 @@ int max1600_configure(struct max1600 *m, unsigned int vcc, unsigned int vpp)
119119
}
120120
EXPORT_SYMBOL_GPL(max1600_configure);
121121

122+
MODULE_DESCRIPTION("MAX1600 PCMCIA power switch library");
122123
MODULE_LICENSE("GPL v2");

drivers/pcmcia/rsrc_mgr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@ EXPORT_SYMBOL(pccard_static_ops);
6666

6767

6868
MODULE_AUTHOR("David A. Hinds, Dominik Brodowski");
69+
MODULE_DESCRIPTION("PCMCIA resource management routines");
6970
MODULE_LICENSE("GPL");
7071
MODULE_ALIAS("rsrc_nonstatic");

drivers/pcmcia/yenta_socket.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,4 +1452,5 @@ static struct pci_driver yenta_cardbus_driver = {
14521452

14531453
module_pci_driver(yenta_cardbus_driver);
14541454

1455+
MODULE_DESCRIPTION("Driver for CardBus yenta-compatible bridges");
14551456
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)