Commit 5fed47ab authored by Jeff Johnson's avatar Jeff Johnson Committed by Lee Jones

mfd: Add missing MODULE_DESCRIPTION() macros

On x86, make allmodconfig && make W=1 C=1 reports:

 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mfd/arizona.o
 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mfd/pcf50633-gpio.o
 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mfd/timberdale.o
 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mfd/ssbi.o
 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mfd/rt4831.o
 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mfd/intel_soc_pmic_bxtwc.o

Add the missing invocation of the MODULE_DESCRIPTION() macro to all
files which have a MODULE_LICENSE().

This includes mfd-core.c and vexpress-sysreg.c which, although they
did not produce a warning with the x86 allmodconfig configuration, may
cause this warning with other configurations.
Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Acked-by: Andy Shevchenko <andy@kernel.org> # for Intel Broxton PMIC
Link: https://lore.kernel.org/r/20240609-md-drivers-mfd-v1-1-47cdd0b394e9@quicinc.comSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent d502645b
...@@ -1429,4 +1429,5 @@ int arizona_dev_exit(struct arizona *arizona) ...@@ -1429,4 +1429,5 @@ int arizona_dev_exit(struct arizona *arizona)
} }
EXPORT_SYMBOL_GPL(arizona_dev_exit); EXPORT_SYMBOL_GPL(arizona_dev_exit);
MODULE_DESCRIPTION("Wolfson Arizona core driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -581,5 +581,6 @@ static struct platform_driver bxtwc_driver = { ...@@ -581,5 +581,6 @@ static struct platform_driver bxtwc_driver = {
module_platform_driver(bxtwc_driver); module_platform_driver(bxtwc_driver);
MODULE_DESCRIPTION("Intel Broxton Whiskey Cove PMIC MFD core driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Qipeng Zha <qipeng.zha@intel.com>"); MODULE_AUTHOR("Qipeng Zha <qipeng.zha@intel.com>");
...@@ -436,5 +436,6 @@ int devm_mfd_add_devices(struct device *dev, int id, ...@@ -436,5 +436,6 @@ int devm_mfd_add_devices(struct device *dev, int id,
} }
EXPORT_SYMBOL(devm_mfd_add_devices); EXPORT_SYMBOL(devm_mfd_add_devices);
MODULE_DESCRIPTION("Core MFD support");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Ian Molton, Dmitry Baryshkov"); MODULE_AUTHOR("Ian Molton, Dmitry Baryshkov");
...@@ -88,4 +88,5 @@ int pcf50633_gpio_power_supply_set(struct pcf50633 *pcf, ...@@ -88,4 +88,5 @@ int pcf50633_gpio_power_supply_set(struct pcf50633 *pcf,
} }
EXPORT_SYMBOL_GPL(pcf50633_gpio_power_supply_set); EXPORT_SYMBOL_GPL(pcf50633_gpio_power_supply_set);
MODULE_DESCRIPTION("NXP PCF50633 GPIO Driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -115,4 +115,5 @@ static struct i2c_driver rt4831_driver = { ...@@ -115,4 +115,5 @@ static struct i2c_driver rt4831_driver = {
module_i2c_driver(rt4831_driver); module_i2c_driver(rt4831_driver);
MODULE_AUTHOR("ChiYuan Huang <cy_huang@richtek.com>"); MODULE_AUTHOR("ChiYuan Huang <cy_huang@richtek.com>");
MODULE_DESCRIPTION("Richtek RT4831 core driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -319,6 +319,7 @@ static struct platform_driver ssbi_driver = { ...@@ -319,6 +319,7 @@ static struct platform_driver ssbi_driver = {
}; };
module_platform_driver(ssbi_driver); module_platform_driver(ssbi_driver);
MODULE_DESCRIPTION("Qualcomm Single-wire Serial Bus Interface (SSBI) driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_VERSION("1.0"); MODULE_VERSION("1.0");
MODULE_ALIAS("platform:ssbi"); MODULE_ALIAS("platform:ssbi");
......
...@@ -853,4 +853,5 @@ module_pci_driver(timberdale_pci_driver); ...@@ -853,4 +853,5 @@ module_pci_driver(timberdale_pci_driver);
MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>"); MODULE_AUTHOR("Mocean Laboratories <info@mocean-labs.com>");
MODULE_VERSION(DRV_VERSION); MODULE_VERSION(DRV_VERSION);
MODULE_DESCRIPTION("Timberdale FPGA MFD driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -132,4 +132,5 @@ static struct platform_driver vexpress_sysreg_driver = { ...@@ -132,4 +132,5 @@ static struct platform_driver vexpress_sysreg_driver = {
}; };
module_platform_driver(vexpress_sysreg_driver); module_platform_driver(vexpress_sysreg_driver);
MODULE_DESCRIPTION("Versatile Express system registers driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
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