Skip to content

Commit be62f12

Browse files
Jeff Johnsongregkh
authored andcommitted
fsi: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o Add the missing invocations of the MODULE_DESCRIPTION() macro, and fix the copy/paste of the module description comment in fsi-master-ast-cf.c. Reviewed-by: Eddie James <[email protected]> Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/20240730-module_description_orphans-v1-4-7094088076c8@quicinc.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8400291 commit be62f12

File tree

6 files changed

+7
-1
lines changed

6 files changed

+7
-1
lines changed

drivers/fsi/fsi-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,5 +1444,6 @@ static void fsi_exit(void)
14441444
}
14451445
module_exit(fsi_exit);
14461446
module_param(discard_errors, int, 0664);
1447+
MODULE_DESCRIPTION("FSI core driver");
14471448
MODULE_LICENSE("GPL");
14481449
MODULE_PARM_DESC(discard_errors, "Don't invoke error handling on bus accesses");

drivers/fsi/fsi-master-aspeed.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,4 +670,5 @@ static struct platform_driver fsi_master_aspeed_driver = {
670670
};
671671

672672
module_platform_driver(fsi_master_aspeed_driver);
673+
MODULE_DESCRIPTION("FSI master driver for AST2600");
673674
MODULE_LICENSE("GPL");

drivers/fsi/fsi-master-ast-cf.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0+
22
// Copyright 2018 IBM Corp
33
/*
4-
* A FSI master controller, using a simple GPIO bit-banging interface
4+
* A FSI master based on Aspeed ColdFire coprocessor
55
*/
66

77
#include <linux/crc4.h>
@@ -1438,5 +1438,6 @@ static struct platform_driver fsi_master_acf = {
14381438
};
14391439

14401440
module_platform_driver(fsi_master_acf);
1441+
MODULE_DESCRIPTION("A FSI master based on Aspeed ColdFire coprocessor");
14411442
MODULE_LICENSE("GPL");
14421443
MODULE_FIRMWARE(FW_FILE_NAME);

drivers/fsi/fsi-master-gpio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,4 +892,5 @@ static struct platform_driver fsi_master_gpio_driver = {
892892
};
893893

894894
module_platform_driver(fsi_master_gpio_driver);
895+
MODULE_DESCRIPTION("A FSI master controller, using a simple GPIO bit-banging interface");
895896
MODULE_LICENSE("GPL");

drivers/fsi/fsi-master-hub.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,5 @@ static struct fsi_driver hub_master_driver = {
295295
};
296296

297297
module_fsi_driver(hub_master_driver);
298+
MODULE_DESCRIPTION("FSI hub master driver");
298299
MODULE_LICENSE("GPL");

drivers/fsi/fsi-scom.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,4 +625,5 @@ static void scom_exit(void)
625625

626626
module_init(scom_init);
627627
module_exit(scom_exit);
628+
MODULE_DESCRIPTION("SCOM FSI Client device driver");
628629
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)