Skip to content

Commit 5fed47a

Browse files
Jeff Johnsonlag-linaro
authored andcommitted
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: Jeff Johnson <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Acked-by: Liviu Dudau <[email protected]> Acked-by: Andy Shevchenko <[email protected]> # for Intel Broxton PMIC Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent d502645 commit 5fed47a

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

drivers/mfd/arizona-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,4 +1429,5 @@ int arizona_dev_exit(struct arizona *arizona)
14291429
}
14301430
EXPORT_SYMBOL_GPL(arizona_dev_exit);
14311431

1432+
MODULE_DESCRIPTION("Wolfson Arizona core driver");
14321433
MODULE_LICENSE("GPL v2");

drivers/mfd/intel_soc_pmic_bxtwc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,5 +581,6 @@ static struct platform_driver bxtwc_driver = {
581581

582582
module_platform_driver(bxtwc_driver);
583583

584+
MODULE_DESCRIPTION("Intel Broxton Whiskey Cove PMIC MFD core driver");
584585
MODULE_LICENSE("GPL v2");
585586
MODULE_AUTHOR("Qipeng Zha <[email protected]>");

drivers/mfd/mfd-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,5 +436,6 @@ int devm_mfd_add_devices(struct device *dev, int id,
436436
}
437437
EXPORT_SYMBOL(devm_mfd_add_devices);
438438

439+
MODULE_DESCRIPTION("Core MFD support");
439440
MODULE_LICENSE("GPL");
440441
MODULE_AUTHOR("Ian Molton, Dmitry Baryshkov");

drivers/mfd/pcf50633-gpio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,5 @@ int pcf50633_gpio_power_supply_set(struct pcf50633 *pcf,
8888
}
8989
EXPORT_SYMBOL_GPL(pcf50633_gpio_power_supply_set);
9090

91+
MODULE_DESCRIPTION("NXP PCF50633 GPIO Driver");
9192
MODULE_LICENSE("GPL");

drivers/mfd/rt4831.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,5 @@ static struct i2c_driver rt4831_driver = {
115115
module_i2c_driver(rt4831_driver);
116116

117117
MODULE_AUTHOR("ChiYuan Huang <[email protected]>");
118+
MODULE_DESCRIPTION("Richtek RT4831 core driver");
118119
MODULE_LICENSE("GPL v2");

drivers/mfd/ssbi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ static struct platform_driver ssbi_driver = {
319319
};
320320
module_platform_driver(ssbi_driver);
321321

322+
MODULE_DESCRIPTION("Qualcomm Single-wire Serial Bus Interface (SSBI) driver");
322323
MODULE_LICENSE("GPL v2");
323324
MODULE_VERSION("1.0");
324325
MODULE_ALIAS("platform:ssbi");

drivers/mfd/timberdale.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,4 +853,5 @@ module_pci_driver(timberdale_pci_driver);
853853

854854
MODULE_AUTHOR("Mocean Laboratories <[email protected]>");
855855
MODULE_VERSION(DRV_VERSION);
856+
MODULE_DESCRIPTION("Timberdale FPGA MFD driver");
856857
MODULE_LICENSE("GPL v2");

drivers/mfd/vexpress-sysreg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,5 @@ static struct platform_driver vexpress_sysreg_driver = {
132132
};
133133

134134
module_platform_driver(vexpress_sysreg_driver);
135+
MODULE_DESCRIPTION("Versatile Express system registers driver");
135136
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)