tty: add missing MODULE_DESCRIPTION() macros

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/serial/8250/8250_base.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/serial/8250/8250_pxa.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/serial/8250/serial_cs.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/serial/esp32_uart.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/serial/esp32_acm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/serial/owl-uart.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/n_hdlc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/n_gsm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/ttynull.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/tty/goldfish.o

Add all missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240607-md-drivers-tty-v1-1-50a7efb8bed8@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jeff Johnson 2024-06-07 16:10:20 -07:00 committed by Greg Kroah-Hartman
parent 638bf32245
commit f0a17485cc
15 changed files with 15 additions and 0 deletions

View File

@ -1660,5 +1660,6 @@ console_initcall(amiserial_console_init);
#endif /* CONFIG_SERIAL_CONSOLE && !MODULE */ #endif /* CONFIG_SERIAL_CONSOLE && !MODULE */
MODULE_DESCRIPTION("Serial driver for the amiga builtin port");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:amiga-serial"); MODULE_ALIAS("platform:amiga-serial");

View File

@ -470,4 +470,5 @@ static struct platform_driver goldfish_tty_platform_driver = {
module_platform_driver(goldfish_tty_platform_driver); module_platform_driver(goldfish_tty_platform_driver);
MODULE_DESCRIPTION("Goldfish TTY Driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");

View File

@ -4634,5 +4634,6 @@ module_init(gsm_init);
module_exit(gsm_exit); module_exit(gsm_exit);
MODULE_DESCRIPTION("GSM 0710 tty multiplexor");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS_LDISC(N_GSM0710); MODULE_ALIAS_LDISC(N_GSM0710);

View File

@ -822,6 +822,7 @@ static void __exit n_hdlc_exit(void)
module_init(n_hdlc_init); module_init(n_hdlc_init);
module_exit(n_hdlc_exit); module_exit(n_hdlc_exit);
MODULE_DESCRIPTION("HDLC line discipline support");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Paul Fulghum paulkf@microgate.com"); MODULE_AUTHOR("Paul Fulghum paulkf@microgate.com");
module_param(maxframe, int, 0); module_param(maxframe, int, 0);

View File

@ -127,4 +127,5 @@ static int __init probe_serial_gsc(void)
module_init(probe_serial_gsc); module_init(probe_serial_gsc);
MODULE_DESCRIPTION("Serial Device Initialisation for Lasi/Asp/Wax/Dino");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -37,4 +37,5 @@ int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port,
return 0; return 0;
} }
EXPORT_SYMBOL_NS_GPL(serial8250_pci_setup_port, SERIAL_8250_PCI); EXPORT_SYMBOL_NS_GPL(serial8250_pci_setup_port, SERIAL_8250_PCI);
MODULE_DESCRIPTION("8250 PCI library");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -3473,4 +3473,5 @@ int serial8250_console_exit(struct uart_port *port)
#endif /* CONFIG_SERIAL_8250_CONSOLE */ #endif /* CONFIG_SERIAL_8250_CONSOLE */
MODULE_DESCRIPTION("Base port operations for 8250/16550-type serial ports");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -182,5 +182,6 @@ OF_EARLYCON_DECLARE(mmp, "mrvl,mmp-uart", early_serial_pxa_setup);
#endif #endif
MODULE_AUTHOR("Sergei Ianovich"); MODULE_AUTHOR("Sergei Ianovich");
MODULE_DESCRIPTION("driver for PXA on-board UARTS");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:pxa2xx-uart"); MODULE_ALIAS("platform:pxa2xx-uart");

View File

@ -864,4 +864,5 @@ static struct pcmcia_driver serial_cs_driver = {
}; };
module_pcmcia_driver(serial_cs_driver); module_pcmcia_driver(serial_cs_driver);
MODULE_DESCRIPTION("driver for PCMCIA serial devices");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -455,4 +455,5 @@ module_init(esp32s3_acm_init);
module_exit(esp32s3_acm_exit); module_exit(esp32s3_acm_exit);
MODULE_AUTHOR("Max Filippov <jcmvbkbc@gmail.com>"); MODULE_AUTHOR("Max Filippov <jcmvbkbc@gmail.com>");
MODULE_DESCRIPTION("Espressif ESP32 USB ACM gadget support");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -775,4 +775,5 @@ module_init(esp32_uart_init);
module_exit(esp32_uart_exit); module_exit(esp32_uart_exit);
MODULE_AUTHOR("Max Filippov <jcmvbkbc@gmail.com>"); MODULE_AUTHOR("Max Filippov <jcmvbkbc@gmail.com>");
MODULE_DESCRIPTION("Espressif ESP32 UART support");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -761,4 +761,5 @@ static void __exit owl_uart_exit(void)
module_init(owl_uart_init); module_init(owl_uart_init);
module_exit(owl_uart_exit); module_exit(owl_uart_exit);
MODULE_DESCRIPTION("Actions Semi Owl family serial console");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -385,4 +385,5 @@ void mctrl_gpio_disable_irq_wake(struct mctrl_gpios *gpios)
} }
EXPORT_SYMBOL_GPL(mctrl_gpio_disable_irq_wake); EXPORT_SYMBOL_GPL(mctrl_gpio_disable_irq_wake);
MODULE_DESCRIPTION("Helpers for controlling modem lines via GPIO");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -89,6 +89,7 @@
*/ */
static const char driver_name[] = "SyncLink GT"; static const char driver_name[] = "SyncLink GT";
static const char tty_dev_prefix[] = "ttySLG"; static const char tty_dev_prefix[] = "ttySLG";
MODULE_DESCRIPTION("Device driver for Microgate SyncLink GT serial adapters");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
#define MAX_DEVICES 32 #define MAX_DEVICES 32

View File

@ -106,4 +106,5 @@ static void __exit ttynull_exit(void)
module_init(ttynull_init); module_init(ttynull_init);
module_exit(ttynull_exit); module_exit(ttynull_exit);
MODULE_DESCRIPTION("NULL TTY driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");