Skip to content

Commit 8eb57fd

Browse files
jeff-t-johnsonUlf Hansson
authored andcommitted
mmc: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/host/of_mmc_spi.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/host/tmio_mmc_core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/host/renesas_sdhi_core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/core/mmc_core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/core/pwrseq_simple.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/core/pwrseq_sd8787.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/core/pwrseq_emmc.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mmc/core/sdio_uart.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> # for TMIO and SDHI Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Reviewed-by: Dragan Simic <dsimic@manjaro.org> Link: https://lore.kernel.org/r/20240611-md-drivers-mmc-v2-1-2ef2cbcdc061@quicinc.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 623c6d5 commit 8eb57fd

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/mmc/core/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,4 +2362,5 @@ static void __exit mmc_exit(void)
23622362
subsys_initcall(mmc_init);
23632363
module_exit(mmc_exit);
23642364

2365+
MODULE_DESCRIPTION("MMC core driver");
23652366
MODULE_LICENSE("GPL");

drivers/mmc/core/pwrseq_emmc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,5 @@ static struct platform_driver mmc_pwrseq_emmc_driver = {
115115
};
116116

117117
module_platform_driver(mmc_pwrseq_emmc_driver);
118+
MODULE_DESCRIPTION("Hardware reset support for eMMC");
118119
MODULE_LICENSE("GPL v2");

drivers/mmc/core/pwrseq_sd8787.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,5 @@ static struct platform_driver mmc_pwrseq_sd8787_driver = {
130130
};
131131

132132
module_platform_driver(mmc_pwrseq_sd8787_driver);
133+
MODULE_DESCRIPTION("Power sequence support for Marvell SD8787 BT + Wifi chip");
133134
MODULE_LICENSE("GPL v2");

drivers/mmc/core/pwrseq_simple.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,5 @@ static struct platform_driver mmc_pwrseq_simple_driver = {
159159
};
160160

161161
module_platform_driver(mmc_pwrseq_simple_driver);
162+
MODULE_DESCRIPTION("Simple power sequence management for MMC");
162163
MODULE_LICENSE("GPL v2");

drivers/mmc/core/sdio_uart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,4 +1162,5 @@ module_init(sdio_uart_init);
11621162
module_exit(sdio_uart_exit);
11631163

11641164
MODULE_AUTHOR("Nicolas Pitre");
1165+
MODULE_DESCRIPTION("SDIO UART/GPS driver");
11651166
MODULE_LICENSE("GPL");

drivers/mmc/host/of_mmc_spi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <linux/mmc/core.h>
2020
#include <linux/mmc/host.h>
2121

22+
MODULE_DESCRIPTION("OpenFirmware bindings for the MMC-over-SPI driver");
2223
MODULE_LICENSE("GPL");
2324

2425
struct of_mmc_spi {

drivers/mmc/host/renesas_sdhi_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,4 +1162,5 @@ void renesas_sdhi_remove(struct platform_device *pdev)
11621162
}
11631163
EXPORT_SYMBOL_GPL(renesas_sdhi_remove);
11641164

1165+
MODULE_DESCRIPTION("Renesas SDHI core driver");
11651166
MODULE_LICENSE("GPL v2");

drivers/mmc/host/tmio_mmc_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,4 +1319,5 @@ int tmio_mmc_host_runtime_resume(struct device *dev)
13191319
EXPORT_SYMBOL_GPL(tmio_mmc_host_runtime_resume);
13201320
#endif
13211321

1322+
MODULE_DESCRIPTION("TMIO MMC core driver");
13221323
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)