mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
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>
This commit is contained in:
parent
623c6d5ec5
commit
8eb57fd069
@ -2362,4 +2362,5 @@ static void __exit mmc_exit(void)
|
|||||||
subsys_initcall(mmc_init);
|
subsys_initcall(mmc_init);
|
||||||
module_exit(mmc_exit);
|
module_exit(mmc_exit);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("MMC core driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@ -115,4 +115,5 @@ static struct platform_driver mmc_pwrseq_emmc_driver = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(mmc_pwrseq_emmc_driver);
|
module_platform_driver(mmc_pwrseq_emmc_driver);
|
||||||
|
MODULE_DESCRIPTION("Hardware reset support for eMMC");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
@ -130,4 +130,5 @@ static struct platform_driver mmc_pwrseq_sd8787_driver = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(mmc_pwrseq_sd8787_driver);
|
module_platform_driver(mmc_pwrseq_sd8787_driver);
|
||||||
|
MODULE_DESCRIPTION("Power sequence support for Marvell SD8787 BT + Wifi chip");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
@ -159,4 +159,5 @@ static struct platform_driver mmc_pwrseq_simple_driver = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module_platform_driver(mmc_pwrseq_simple_driver);
|
module_platform_driver(mmc_pwrseq_simple_driver);
|
||||||
|
MODULE_DESCRIPTION("Simple power sequence management for MMC");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
@ -1162,4 +1162,5 @@ module_init(sdio_uart_init);
|
|||||||
module_exit(sdio_uart_exit);
|
module_exit(sdio_uart_exit);
|
||||||
|
|
||||||
MODULE_AUTHOR("Nicolas Pitre");
|
MODULE_AUTHOR("Nicolas Pitre");
|
||||||
|
MODULE_DESCRIPTION("SDIO UART/GPS driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include <linux/mmc/core.h>
|
#include <linux/mmc/core.h>
|
||||||
#include <linux/mmc/host.h>
|
#include <linux/mmc/host.h>
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("OpenFirmware bindings for the MMC-over-SPI driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
||||||
struct of_mmc_spi {
|
struct of_mmc_spi {
|
||||||
|
@ -1162,4 +1162,5 @@ void renesas_sdhi_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(renesas_sdhi_remove);
|
EXPORT_SYMBOL_GPL(renesas_sdhi_remove);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Renesas SDHI core driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
@ -1319,4 +1319,5 @@ int tmio_mmc_host_runtime_resume(struct device *dev)
|
|||||||
EXPORT_SYMBOL_GPL(tmio_mmc_host_runtime_resume);
|
EXPORT_SYMBOL_GPL(tmio_mmc_host_runtime_resume);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("TMIO MMC core driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
Loading…
Reference in New Issue
Block a user