Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: gpib: add module descriptions

Every loadable module should have a description, and not having one
causes a W=1 build warning, so add these to the newly added modules.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241016111521.1143191-2-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Arnd Bergmann and committed by
Greg Kroah-Hartman
ad59cf38 c47adc2d

+15
+1
drivers/staging/gpib/agilent_82350b/agilent_82350b.c
··· 18 18 #include <linux/wait.h> 19 19 20 20 MODULE_LICENSE("GPL"); 21 + MODULE_DESCRIPTION("GPIB driver for Agilent 82350b"); 21 22 22 23 int agilent_82350b_accel_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, 23 24 size_t *bytes_read)
+1
drivers/staging/gpib/agilent_82357a/agilent_82357a.c
··· 15 15 #include "tms9914.h" 16 16 17 17 MODULE_LICENSE("GPL"); 18 + MODULE_DESCRIPTION("GPIB driver for Agilent 82357A/B usb adapter"); 18 19 19 20 #define MAX_NUM_82357A_INTERFACES 128 20 21 static struct usb_interface *agilent_82357a_driver_interfaces[MAX_NUM_82357A_INTERFACES];
+1
drivers/staging/gpib/cb7210/cb7210.c
··· 21 21 #include "quancom_pci.h" 22 22 23 23 MODULE_LICENSE("GPL"); 24 + MODULE_DESCRIPTION("GPIB driver Measurement Computing boards using cb7210.2 and cbi488.2"); 24 25 25 26 static inline int have_fifo_word(const struct cb7210_priv *cb_priv) 26 27 {
+1
drivers/staging/gpib/cec/cec_gpib.c
··· 13 13 #include <linux/slab.h> 14 14 15 15 MODULE_LICENSE("GPL"); 16 + MODULE_DESCRIPTION("GPIB driver for CEC PCI and PCMCIA boards"); 16 17 17 18 /* 18 19 * GPIB interrupt service routines
+1
drivers/staging/gpib/common/gpib_os.c
··· 20 20 #include <linux/uaccess.h> 21 21 22 22 MODULE_LICENSE("GPL"); 23 + MODULE_DESCRIPTION("GPIB base support"); 23 24 MODULE_ALIAS_CHARDEV_MAJOR(GPIB_CODE); 24 25 25 26 static int board_type_ioctl(gpib_file_private_t *file_priv, gpib_board_t *board, unsigned long arg);
+1
drivers/staging/gpib/eastwood/fluke_gpib.c
··· 18 18 #include <linux/slab.h> 19 19 20 20 MODULE_LICENSE("GPL"); 21 + MODULE_DESCRIPTION("GPIB Driver for Fluke cda devices"); 21 22 22 23 static int fluke_attach_holdoff_all(gpib_board_t *board, const gpib_board_config_t *config); 23 24 static int fluke_attach_holdoff_end(gpib_board_t *board, const gpib_board_config_t *config);
+1
drivers/staging/gpib/gpio/gpib_bitbang.c
··· 368 368 #define DIR_WRITE 1 369 369 370 370 MODULE_LICENSE("GPL"); 371 + MODULE_DESCRIPTION("GPIB helper functions for bitbanging I/O"); 371 372 372 373 /**** global variables ****/ 373 374 #ifdef CONFIG_GPIB_DEBUG
+1
drivers/staging/gpib/hp_82335/hp82335.c
··· 17 17 #include <linux/init.h> 18 18 19 19 MODULE_LICENSE("GPL"); 20 + MODULE_DESCRIPTION("GPIB driver for HP 82335 interface cards"); 20 21 21 22 static int hp82335_attach(gpib_board_t *board, const gpib_board_config_t *config); 22 23
+1
drivers/staging/gpib/ines/ines_gpib.c
··· 19 19 #include "gpib_pci_ids.h" 20 20 21 21 MODULE_LICENSE("GPL"); 22 + MODULE_DESCRIPTION("GPIB driver for Ines iGPIB 72010"); 22 23 23 24 int ines_line_status(const gpib_board_t *board) 24 25 {
+1
drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
··· 31 31 #include "gpibP.h" 32 32 33 33 MODULE_LICENSE("GPL"); 34 + MODULE_DESCRIPTION("GPIB driver for LPVO usb devices"); 34 35 35 36 #define NAME "lpvo_usb_gpib" 36 37
+1
drivers/staging/gpib/nec7210/nec7210.c
··· 19 19 #include <linux/delay.h> 20 20 21 21 MODULE_LICENSE("GPL"); 22 + MODULE_DESCRIPTION("GPIB library code for NEC uPD7210"); 22 23 23 24 int nec7210_enable_eos(gpib_board_t *board, struct nec7210_priv *priv, uint8_t eos_byte, 24 25 int compare_8_bits)
+1
drivers/staging/gpib/ni_usb/ni_usb_gpib.c
··· 14 14 #include "tnt4882_registers.h" 15 15 16 16 MODULE_LICENSE("GPL"); 17 + MODULE_DESCRIPTION("GPIB driver for National Instruments USB devices"); 17 18 18 19 #define MAX_NUM_NI_USB_INTERFACES 128 19 20 static struct usb_interface *ni_usb_driver_interfaces[MAX_NUM_NI_USB_INTERFACES];
+1
drivers/staging/gpib/pc2/pc2_gpib.c
··· 47 47 } 48 48 49 49 MODULE_LICENSE("GPL"); 50 + MODULE_DESCRIPTION("GPIB driver for PC2/PC2a and compatible devices"); 50 51 51 52 static int pc2_attach(gpib_board_t *board, const gpib_board_config_t *config); 52 53 static int pc2a_attach(gpib_board_t *board, const gpib_board_config_t *config);
+1
drivers/staging/gpib/tms9914/tms9914.c
··· 22 22 #include "tms9914.h" 23 23 24 24 MODULE_LICENSE("GPL"); 25 + MODULE_DESCRIPTION("GPIB library for tms9914"); 25 26 26 27 static unsigned int update_status_nolock(gpib_board_t *board, struct tms9914_priv *priv); 27 28
+1
drivers/staging/gpib/tnt4882/tnt4882_gpib.c
··· 191 191 } 192 192 193 193 MODULE_LICENSE("GPL"); 194 + MODULE_DESCRIPTION("GPIB driver for National Instruments boards using tnt4882 or compatible chips"); 194 195 195 196 int tnt4882_line_status(const gpib_board_t *board) 196 197 {