Commit 8a71710b authored by Jeff Johnson's avatar Jeff Johnson Committed by Mark Brown

spi: add missing MODULE_DESCRIPTION() macros

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spi/spi-altera-core.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spi/spi-fsl-lib.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spi/spi-omap2-mcspi.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spi/spi-qup.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.
Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240609-md-drivers-spi-v1-1-1c7444f53cde@quicinc.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 022bd9c5
...@@ -219,4 +219,5 @@ void altera_spi_init_host(struct spi_controller *host) ...@@ -219,4 +219,5 @@ void altera_spi_init_host(struct spi_controller *host)
} }
EXPORT_SYMBOL_GPL(altera_spi_init_host); EXPORT_SYMBOL_GPL(altera_spi_init_host);
MODULE_DESCRIPTION("Altera SPI Controller driver core");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -415,4 +415,5 @@ void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi) ...@@ -415,4 +415,5 @@ void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi)
} }
EXPORT_SYMBOL_GPL(fsl_spi_cpm_free); EXPORT_SYMBOL_GPL(fsl_spi_cpm_free);
MODULE_DESCRIPTION("Freescale SPI controller driver CPM functions");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -158,4 +158,5 @@ int of_mpc8xxx_spi_probe(struct platform_device *ofdev) ...@@ -158,4 +158,5 @@ int of_mpc8xxx_spi_probe(struct platform_device *ofdev)
} }
EXPORT_SYMBOL_GPL(of_mpc8xxx_spi_probe); EXPORT_SYMBOL_GPL(of_mpc8xxx_spi_probe);
MODULE_DESCRIPTION("Freescale SPI/eSPI controller driver library");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -541,5 +541,6 @@ static void __exit omap_uwire_exit(void) ...@@ -541,5 +541,6 @@ static void __exit omap_uwire_exit(void)
subsys_initcall(omap_uwire_init); subsys_initcall(omap_uwire_init);
module_exit(omap_uwire_exit); module_exit(omap_uwire_exit);
MODULE_DESCRIPTION("MicroWire interface driver for OMAP");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1671,4 +1671,5 @@ static struct platform_driver omap2_mcspi_driver = { ...@@ -1671,4 +1671,5 @@ static struct platform_driver omap2_mcspi_driver = {
}; };
module_platform_driver(omap2_mcspi_driver); module_platform_driver(omap2_mcspi_driver);
MODULE_DESCRIPTION("OMAP2 McSPI controller driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -1369,5 +1369,6 @@ static struct platform_driver spi_qup_driver = { ...@@ -1369,5 +1369,6 @@ static struct platform_driver spi_qup_driver = {
}; };
module_platform_driver(spi_qup_driver); module_platform_driver(spi_qup_driver);
MODULE_DESCRIPTION("Qualcomm SPI controller with QUP interface");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:spi_qup"); MODULE_ALIAS("platform:spi_qup");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment