Skip to content

Commit

Permalink
nvmem: add missing MODULE_DESCRIPTION() macros
Browse files Browse the repository at this point in the history
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvmem/nvmem-apple-efuses.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvmem/nvmem_brcm_nvram.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvmem/nvmem_u-boot-env.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Jeff Johnson authored and gregkh committed Jul 5, 2024
1 parent d2b8870 commit c553bad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/nvmem/apple-efuses.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ static struct platform_driver apple_efuses_driver = {
module_platform_driver(apple_efuses_driver);

MODULE_AUTHOR("Sven Peter <[email protected]>");
MODULE_DESCRIPTION("Apple SoC eFuse driver");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions drivers/nvmem/brcm_nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,6 @@ static int __init brcm_nvram_init(void)
subsys_initcall_sync(brcm_nvram_init);

MODULE_AUTHOR("Rafał Miłecki");
MODULE_DESCRIPTION("Broadcom I/O-mapped NVRAM support driver");
MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE(of, brcm_nvram_of_match_table);
1 change: 1 addition & 0 deletions drivers/nvmem/u-boot-env.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,5 +249,6 @@ static struct platform_driver u_boot_env_driver = {
module_platform_driver(u_boot_env_driver);

MODULE_AUTHOR("Rafał Miłecki");
MODULE_DESCRIPTION("U-Boot environment variables support module");
MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE(of, u_boot_env_of_match_table);

0 comments on commit c553bad

Please sign in to comment.